There are two Apache servers sharing content in my student file space,

* http://cgi.sfu.ca/~jdbates/ ExecCGI is on
* http://www.sfu.ca/~jdbates/ ExecCGI is off

When I add,

Action my-handler /~jdbates/my-handler
SetHandler my-handler

- to my .htaccess, cgi.sfu.ca works, but www.sfu.ca errors 403,
Forbidden. I assume this is because ExecCGI is off, so the handler
cannot be executed.

How can I add the SetHandler directive to my .htaccess in such way that
it only applies if ExecCGI is on, or for requests to cgi.sfu.ca, or if
the handler will not error?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to