From the Apache 2 docs:
The effect of MultiViews is as follows: if the server receives a request for
/some/dir/foo, if/some/dirhas MultiViews enabled, and/some/dir/foodoes not exist, then the server reads the directory looking for files namedfoo.*, and effectively fakes up a type map which names all those files...
Is there any way to make MultiViews do its magic even if the requested file does exist? For example I might have these files:
- foo.html
- foo.html.gz
When /foo.html is requested, I want to return foo.html.gz if the Accept-Encoding: gzip
header is sent.
MultiViews can do this fine, but you have to either request just /foo or rename foo.html to foo.html.en (which is hackish, and doesn't work if you request from a non-English browser).