D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] apache log question



On Tue, 01 Jun 2004 20:15:44 +0100, Peter Walker
<peter.walker@xxxxxxxxxxxxxxx> wrote:

dave morgan wrote:

Stupid question time ...

Is it possible to have apache log intranet accesses separately from
internet ones, or even not log intranet ones at all?

My logs are full of accesses from 10.0.1.* , but I am only really
interested in external accesses

best regards
Dave
 

A quick Google gives http://httpd.apache.org/docs/logs.html#conditional

Pete

thanks Pete,
three 'SetEnvIf remote host "foo" dontlog' lines and an 'env!=dontlog'
on the end of the CustomLog line and Robert is your uncle ...

best regards
Dave
-- 
http://www.eclipse.co.uk/morgad/index.html    gpg:0x64B5E037 
Distributed Proofreaders : http://www.pgdp.net

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.



Lynx friendly