--- Joao Miguel Sa <jmsa@student.dei.uc.pt> wrote:
>
> Hello,
>
> I need to log only requests to a directory.
The conditional form of the CustomLog directive, combined with
SetEnvIf, is what you want !
E.g.
# If the request is for /some/dir, set some env to trigger logging
SetEnvIf Request_URI ^/some/dir log_me=yes
CustomLog "logs/some_dir" somedir_format env=log_me
- Adam
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
|