There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'm looking for options in capturing all HTTP requests to a host (or a specific directory of a host) by one script. The environment that I'm working in is Apache HTTP (version 1.3). Sometimes I'm able to use mod_perl, but for the most part I'm required to use CGI.
So far I've been able to make use of ErrorDocument 404 /myapp/index.cgi This works well, providing /myapp/index.cgi with all requests made to any path within the /myapp directory (such as /myapp/foo/bar). The problem with this is that it fills up Apache's error log. Are there other methods? If so, how does Perl get at the requested path (I've had problems with this when attempting to use mod_rewrite)? In reply to Ways for capturing all requests under Apache by sutch
|
|