Graham Dumpleton
grahamd at dscpl.com.au
Mon Jun 6 18:16:33 EDT 2005
On 07/06/2005, at 12:39 AM, Daniel J. Popowich wrote: >> What is the URL you are using for the request? Are you using >> "test.mps", >> "test.html" or just "test" with no extension? >> >> Options -MultiViews >> > > mod_python servlets (mps) enforces "clean" urls, so the only way to > access a servlet in "test.mps" is with "test", so MultiViews, in my > experience, has to be turned off as Graham says. > >> for that part of the directory heirachy, and make sure you always use >> "test.mps" explicitly. > > This is incorrect: using "test.mps" explicitly will fail and return a > 404 error. > > mps does the following for req.filename: > > ... True. Forgot that mpservlets recommends/requires use of SetHandler. I had put my AddHandler hat on where one would have had to specify an extension and then the problems I described might eventuate. Sorry for the confusion. :-) Graham
|