I am running PHP4 as CGI. I have files that can be accessed via a secure url or a normal url.
When accessed via a normal request I use this handler
Action application/x-httpd-php /cgi-bin/php4.cgi
However that doesn't work for secure requests that are accessed via a url like https://ssl.pair.com/USERNAME/...
I have to tack on the USERNAME before /cgi-bin so the Action looks like this
Action application/x-httpd-php /USERNAME/cgi-bin/php4.cgi
So does anyone have any ideas on how I might go about using a different handler depending on how the file is accessed?
Thanks,
Trevor DeVore