httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] Disabling logging based on envariable
Date Fri, 15 Aug 1997 21:51:25 GMT
Or mod_env could start doing per-directory stuff and you could use:

<Files *.gif>
SetEnv nologging
</Files>

Or you can use mod_rewrite:

RewriteRule \.gif$ - [E=nologging]

Or something like that...

Dean

On Fri, 15 Aug 1997, Rodent of Unusual Size wrote:

> >From the fingers of Doug MacEachern flowed the following:
> >
> >+1 on the concept, It would also be nice to have an `any' option, here
> >requests for *.gif are not logged no matter what:
> >
> ><Files *.gif>
> >DoNotLogIf any
> ></Files>
> 
>     Well, that can be done with this (though not quite as elegantly)
>     with
> 
>      SetEnvIf REQUEST_URI \.gif$ GIF
>      DoNotLogIf env=GIF
> 
>     Nice idea for a future iteration, though.
> 
>     #ken    :-)}
> 


Mime
View raw message