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

Re: [cobalt-users] Access PHP script without the .php



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Check out this:
> http://httpd.apache.org/docs/content-negotiation.html
>
> or this:
>
> http://httpd.apache.org/docs/content-negotiation

Beat me to it (and nice touch with the "alternate" URLs there... 
subtle!)...  More detail follows, for those too lazy to click on the 
link... I mean, uh, more detail follows for the archives.  ;)

========
MultiViews is a per-directory option, meaning it can be set with an 
Options directive within a <Directory>, <Location> or <Files> section 
in access.conf, or (if AllowOverride is properly set) in .htaccess 
files. Note that Options All does not set MultiViews; you have to ask 
for it by name.

The effect of MultiViews is as follows: if the server receives a 
request for /some/dir/foo, if /some/dir has MultiViews enabled, and 
/some/dir/foo does not exist, then the server reads the directory 
looking for files named foo.*, and effectively fakes up a type map 
which names all those files, assigning them the same media types and 
content-encodings it would have if the client had asked for one of 
them by name. It then chooses the best match to the client's 
requirements.
========

- -- 
Bruce Timberlake

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Z+VrvLA2hUZ9kgwRArAgAJ9de9r1gYFuIbmjUL8+aCf8uS9G+wCfTt0q
GpSKhwFce+Zl9PAoR0AD6J4=
=csQ6
-----END PGP SIGNATURE-----