httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Hasicek <martin.hasi...@gmail.com>
Subject Re: [users@httpd] Apache configuration to catch any directory access
Date Thu, 29 Mar 2012 06:18:55 GMT
Hi,

maybe you can pipe out the output of log file to some script

CustomLog "|bin/doAcctionAfterDirectoryAccess" common

of course, you can customized logfile output (check CustomLog directive)
and you can set action only for specific directory (check Directory and
CustomLog directive).

Hope this is what you are looking for.

mh

On Thu, Mar 29, 2012 at 3:01 PM, Sharmistha Chatterjee <
sharmi.chatterjee@gmail.com> wrote:

> Hi,
>
> Is it possible to have any configuration in apache conf files/script
> files that can catch immediately when the document_root is accessed and
> notify to some application.
>
> The client who accesses the directory won't send the request to a php
> script/any other script/conf file . Neither it will touch some files for
> Apache to understand that the document_root directory is accessed.
>
> Then how does Apache understands any request to the document_root at the
> time a new request comes.
>
> Regards,
> sharmistha
>

Mime
View raw message