httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Advanced Problem with Virtual Host
Date Wed, 08 Mar 2006 19:41:46 GMT
On 3/8/06, Dennis Madsen <dennis@demaweb.dk> 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@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