httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] DirectoryIndex reset ?
Date Sun, 19 Oct 2008 22:57:11 GMT
Sascha Kersken wrote:
> Hey all,
> 
> Eric Covener schrieb:
>>>
>>> Suggestion :
>>> DirectoryIndex disable (or none)
>>>     
>>
>> committed to trunk in http://svn.apache.org/viewvc?rev=706001&view=rev
>> and proposed for backport to 2.2.x -- potential hitch in breaking
>> existing "DirectoryIndex none".
>>   
> 
> Ehm, good idea -- but what if I happen to have a file called "none"
> which I want to use as the directory index? I know, this case is
> unlikely and more like an academic construction, but it might still
> happen ...

Provided that trunk doesn't recognize 'disabled' unless it's a single
argval, then

  DirectoryIndex disabled

turns it off

  DirectoryIndex disabled nothere

would serve disabled[.html] and then nothere[.html].

Can we also ensure it's only 'disabled' (vs 'disable' vs 'none) so there
is only one special-pattern to work around?

(Of course DirectoryIndex disabled.html is just fine to serve that doc.)

---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message