httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@ebuilt.com>
Subject Re: cvs commit: httpd-2.0/modules/mappers mod_negotiation.c
Date Mon, 06 Aug 2001 23:10:46 GMT
On Mon, Aug 06, 2001 at 10:42:59PM -0000, wrowe@apache.org wrote:
> wrowe       01/08/06 15:42:59
> 
>   Modified:    modules/mappers mod_negotiation.c
>   Log:
>     Thanks goes to Manoj, while commenting on another issue, for triggering
>     this idea.  If we find files matching (e.g. index.html.bak matches
>     index.html) but they are rejected because we don't understand them
>     (e.g. they are a directory, or .bak isn't a mod_mime recognized extension)
>     then Error 500 out of here, with a note for the system administrator
>     explaining that index.html matches some files, but their extensions
>     cannot be grokked.  No more (unintentional, or situational) autoindex :)

The idea is fine, but we should be returning 404 Not Found in this case.
500 is too generic and we don't want the client to repeat the request
thinking that it may succeed sometime soon.

....Roy


Mime
View raw message