Srdjan wrote: > > Dave Rolsky wrote: >> On Sat, 31 Mar 2007, Oliver Jeeves wrote: > >>> What does the Apache configuration look like? Is content negotiation >>> turned on? > > I have a stock Debian (unstable) httpd.conf, with only one modification - no > /images alias. > mod_negotiation is loaded (that's the default, I guess). >
This is being copied to the mason-users mailing list, and not all of us have access to a stock Debian httpd.conf >> Specifically, this looks like a case where MultiViews is enabled in the >> Apache configuration. See >> http://httpd.apache.org/docs/1.3/content-negotiation.html > > ... So what should I look at if I want to know if apache > played with the uri meanwhile? You should read the page linked to above. MultiViews gets Apache to search for a file to match the URL in the URL does not match an exact file. For example, given the URL path /foo/bar it'll look for: /foo/bar /foo/bar/index.html /foo/bar.html Perhaps not in that order, you'd need to check the documentation if you want more detail. The last of those obviously does not match the URL. This causes problems when you have something like Mason where a URL doesn't need to match the file, and you want Mason to determine what to call, not Apache. Try adding: Options -MultiViews to the <Location> or <Directory> specific to where these files are, and see if that fixes the problem.
signature.asc
Description: OpenPGP digital signature