httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Ionescu" <bobsie...@googlemail.com>
Subject Re: [users@httpd] Setting DirectoryIndex to a Location?
Date Mon, 12 Jan 2009 16:13:17 GMT
2009/1/12 Michael Ludwig <mlu@as-guides.com>:
> Bob Ionescu schrieb:
>> The location walk will be processed (again) after the directory and
>> file walk.
>
> So my assumption was wrong. Does anyone know in which document this
> behaviour is described?

http://httpd.apache.org/docs/2.2/sections.html#mergin

>> But mod_dir checks, if it is a regular file. What about
>> creating the file as a dummy?
>
> You mean an index.html as redirector?

No, just the filename you gave in DirctoryIndex. It won't be served
due to your Handler setting but acts as a dummy for the requirement of
mod_dir (existing file). But the way via DirctoryIndex and mod_dir
causes a subrequest lookup for the index file, which you can avoid
with the RewriteRule of course.

Bob

---------------------------------------------------------------------
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