httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric S. Johansson" <>
Subject [users@httpd] invisible CGI invocation
Date Fri, 06 May 2005 23:35:14 GMT
I'm currently using 404 error handling to achieve this but what I'm 
looking to do is invoke multiple CGI programs depending on the base URL 
and everything after the base URL is passed to the CGI.  For example:

base URL

anything containing the base URL invokes the CGI program

would invokes the base URL associated CGI program and pass the relative 
URL /foo/rat to the CGI program.  Currently I do this with an error 
document hack.  Works well just that every reference creates a 404 entry 
in the log.

but if I was to associate a different CGI with a different base URL but 
in the same hierarchy:

and any URL containing that base invokes the alternative CGI as well as 
passing the relative URL to CGI program.

I'm making it work now with <directory> and ErrorDocument handlers but 
it does seem like an awful hack.  I have tried using index.cgi but 
either I'm doing something wrong and it is not being invoked or it isn't 
right for this problem.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message