Forum Moderators: phranque
What is the easiest way to dump every url request made, into program?
eg:
/foo/
/fun/
/bob?goforit.cgi=foo
/index.htm
I want every url request handled by one program.
as always with apache - this seems like something simple to do, yet I can't quite wrap my brain around the syntax.
RewriteCond %{REQUEST_URI} !^/cgi-bin/v4_1.pl
RewriteRule .* /cgi-bin/v4_1.pl [L]
Jim
[edited by: jdMorgan at 10:57 pm (utc) on July 12, 2006]
I also want to re-emphasize that 500-Server Error handling should (almost *must*) be done outside of the main script; Otherwise, any script error will re-invoke the script, potentially cause another error, etc. This could potentially get very nasty -- Sort of a 'fast-burn meltdown'.
Jim