httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Sutton <>
Subject Re: [PATCH] PR#817: htaccess ignored if unreadable
Date Mon, 18 Aug 1997 09:13:18 GMT
On Sun, 17 Aug 1997, Marc Slemko wrote:
> The below changes things so that if the htaccess can't be opened for any
> reason other than not existing, the request is denied.
> This _does_ change the behavior of the server.  It _will_ catch some
> people.  Regardless, I think it is important to fix.


> It is arguable that it should return HTTP_INTERNAL_SERVER_ERROR instead,
> but I prefer forbidden.

I think INTERNAL_SERVER_ERROR would be correct here. FORBIDDEN is used
when access to the selected resource is denied by the server. Here the
resource itself may (or may not) be accessible, however it is denied
access because of a *server configuration* file having bad permissions. So
the response is given because of an internal server error, not because of
the resource.


View raw message