__/ [Ran Aroussi] on Thursday 09 February 2006 17:06 \__
> I have Apache setup as a forward proxy server at my work. I need to
> monitor the requests that the proxy server gets.
>
> I want to do it by invoking a Perl script using PerlHandler, or
> something like this.
>
> The thing is, I can't get Apache to invoke the PerlHandler when a
> request is made.
>
> Any ideas?
>
> Thanks,
> Ran
A shot in the dark: set Apache to run a shell script, which in turn invokes
the PerlHandler or simply runs the Perl script (perl script.pl). You
probably just need to identify the file which contains commands to be
executed whenever a request is made. I don't know Apache well enough, but
that's how bash usually works. It has hooks for actions to be triggered.
Hope this helps,
Roy
--
Roy S. Schestowitz
http://Schestowitz.com | SuSE Linux | PGP-Key: 0x74572E8E
5:40am up 28 days 0:41, 13 users, load average: 0.30, 0.62, 0.75
http://iuron.com - next generation of search paradigms
|
|