Re: Setting DirectoryIndex to a Location?

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

 



Brian Mearns schrieb:
On Fri, Jan 9, 2009 at 9:26 AM, Michael Ludwig <mlu@xxxxxxxxxxxxx>
wrote:
I thought so, too. I had tried, unsuccessfully:

 DirectoryIndex linch

(Note that I believe without a leading slash, this will look append
"/linch" to whatever address the user has entered, e.g.,
server.com/foo will become server.com/foo/linch, not just
server.com/linch)

I think so, too. That would be just as intended.

Here's a stupid question: have you verified that /eumel/linch works?

It does.

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. That's why it
is now looking for a *file* named "linch" inside ~milu/www/eumel/www.
And that file simply isn't there: /eumel/linch is a virtual resource,
not a physical one.

Michael

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