Re: [users@httpd] Advanced Problem with Virtual Host

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

 



On 3/8/06, Dennis Madsen <dennis@xxxxxxxxxx> wrote:

> When I visit e.g.:
>
> http://www.demahost.dk/support/
>
> http://www.demahost.dk/admin/
>
> My browser shows this sites:
>
> http://www.demahost.dk/support.php
>
> http://www.demahost.dk/admin.php

Remove MultiViews from your Options directives and perhaps set
AcceptPathInfo off.

Multiviews tells apache that if it can't find a file matching a
particular request, it should check the directory for files with the
same basename.  This is used in content negotiation when you want to
serve different files depending on what the browser can handle.

The slash on the end, which would normally indicate a directory, is
treated as PATH_INFO (trailing path information passed to the script)
and not as part of the path to the script.  This behavior can be
modified with the AcceptPathInfo directive.

Joshua.

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