httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Salvador Ortiz Garcia <...@msg.com.mx>
Subject Re: [PATCH] for a bug in mod_dir
Date Tue, 04 May 1999 01:26:08 GMT

[ Sorry if duplicated, but I think that my previous post was missed ]


On Fri, 30 Apr 1999, Raymond S Brand wrote:

> The mod_dir request handler does not gracefully handle the situation
> where the value of the DirectoryIndex directive is `.' (a single dot)
> for a directory request. This bug can likely also be triggered for
> other values of the DirectoryIndex directive that map back to the same
> directory, possibly through other directories.
> 
> The included patch changes the mod_dir request handler to only consider
> regular files when searching for a potential index file.

As documented, DirectoryIndex can take any URI so

Why we can't use
             
          ... == HTTP_OK && !S_ISDIR(rr->finfo.st_mode)

to allow Pure Virtal URIs(tm)?

Regards

Salvador Ortiz



Mime
View raw message