I have a configuration directive <Location /> AddHandler cgi-script cgi Options +ExecCGI +MultiViews MultiViewsMatch Handlers </Location> so that I can access cgi scripts without extensions, eg http://localhost/foo runs foo.cgi in the document root. The first two directives take effect, as http://localhost/foo.cgi works as expected. But when I access just /foo, I get the "None could be negotiated" error. It seems that the MultiViewsMatch Handlers directive is not applied. If I instead change Location to a Directory, it works: <Directory /home> AddHandler cgi-script cgi Options +ExecCGI +MultiViews MultiViewsMatch Handlers </Directory> Now, http://localhost/foo works. So it looks as though MultiViewsMatch has no effect in a Location section. Andrew
Behavior is by design. <Location > refers to a user request, and does not apply to a filesystem. Don't abuse <Location > when you mean <Files > or <Directory >
Thanks for the quick reply! The documentation says that MultiViewsMatch is allowed in directory context and doesn't mention the limitation. May I suggest adding, MultiViewsMatch is not allowed in a <Location> or <LocationMatch> section. It would be even better if the configuration parser reported this problem instead of silently ignoring the directive. That would have saved me some confusion.
Reopening as a docs bug; fair suggestion, thanks.
Did both - configuration fails if MultiviewsMatch is in a Location or LocationMatch section, and added a note to the doc. Committed to trunk as r814728.
Great, thanks!
Added more explanation: r1031111 Apparently Options +MultiViews is ignored in any context other than <Directory > too.