Re: Setting DirectoryIndex to a Location?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/1/12 Michael Ludwig <mlu@xxxxxxxxxxxxx>:
> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux