Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Ways for capturing all requests under Apache

by sutch (Curate)
on Aug 07, 2004 at 03:46 UTC ( #380838=note: print w/replies, xml ) Need Help??


in reply to Re: Ways for capturing all requests under Apache
in thread Ways for capturing all requests under Apache

Thank you. The final snippet of .htaccess code that works for me turns out to be:

Action my-handler /cgi-bin/index.cgi SetHandler my-handler

And the requested path is available to the script in the PATH_INFO environment variable.

UPDATE: For this to work, a file named index.cgi must be available in the same directory as the .htaccess file. The file may be empty or contain anything, since it is never executed. (Question: why is this file needed by Apache?)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://380838]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2018-09-26 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (207 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!