httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Bates <>
Subject [users@httpd] how to respond to .../bar with bar.html and .../bar/ with bar/index.html?
Date Mon, 02 Nov 2009 23:38:17 GMT
I have files foo.html, bar.html, and bar/index.html

I want the URLs,

* to respond with foo.html,
* to respond with bar.html,
* to respond with bar/index.html

I configured, "Options +MultiViews", and sure enough, responds with foo.html

- however redirects to which responds with bar/index.html

I tried playing with DirectorySlash and "Options -Indexes" - no luck : (

Judging by mod_negotiation.c, line 3091, it looks like MultiViews won't
map to bar.html as long as the directory
"bar" exists?

Any other way to accomplish what I describe?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message