httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Madsen" <den...@demaweb.dk>
Subject SV: [users@httpd] Advanced Problem with Virtual Host
Date Wed, 08 Mar 2006 20:09:44 GMT
Thanks for you fast answer! :)

I'm happy :)

Med venlig hilsen / Best regards
Dennis Madsen
 
DeMaWeb
http://www.demaweb.dk
CVR-nr.: 2895 9486
-----Oprindelig meddelelse-----
Fra: jslive@gmail.com [mailto:jslive@gmail.com] På vegne af Joshua Slive
Sendt: 8. marts 2006 20:42
Til: users@httpd.apache.org
Emne: Re: [users@httpd] Advanced Problem with Virtual Host

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




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