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] Apache Look-Back feature
Date Mon, 06 Jan 2003 20:04:24 GMT

On Mon, 6 Jan 2003, Andrea wrote:
> If I call from the browser
> /pippo
> then pippo.htm is called
>
> while If I call from the browser
> /pippo/foo
> I'll have a 404
>
> Case B)
> I have one one file in the DocumentRoot
> pippo.php
>
> If I call from the browser
> /pippo
> then pippo.php is called
>
> while If I call from the browser
> /pippo/foo
> then pippo.php is called
>
> I don't understand why that happens.

This is a feature called "Multiviews".  Look in the docs for Options and
the content-negotation docs.  Since it is intended for use in
content-negotiation, the results can be surprising if it needs to choose
between two files that have the same language, character set, etc.  I
can't remember the exact algorithm, but it might be choosing based on file
size.  See also the MutliViewsMatch directive in Apache 2.0.

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