Re: Setting DirectoryIndex to a Location?

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

 



2009/1/9 Michael Ludwig <mlu@xxxxxxxxxxxxx>:
> I think here's what happens: By the time Apache has decided, following
> the Alias, to use the <Directory> container to locate the requested
> resource, it is already tied to the filesystem context; and it is now
> too late to take any <Location> containers into account.

The location walk will be processed (again) after the directory and
file walk. But mod_dir checks, if it is a regular file. What about
creating the file as a dummy?

Anyway, I would probably end up using something like

RewriteEngine on
RewriteRule ^/eumel/$ /eumel/linch [PT]
Alias /eumel /home/milu/www/eumel/www
<Directory ......

The PT flag changes r->uri to /eumel/linch so that your location
section should match.

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