httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Bates <>
Subject [users@httpd] SetHandler only if not Forbidden
Date Sat, 21 Mar 2009 21:05:34 GMT
There are two Apache servers sharing content in my student file space,

* ExecCGI is on
* ExecCGI is off

When I add,

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

- to my .htaccess, works, but 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, or if
the handler will not error?

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