On Feb 3, 2012, at 11:29 AM, VP wrote: > For some reason my nginx does not keep log, but I think it's unlikely > that nginx will remove slashes in the middle of a URL (e.g. app/con/ > func/a/b//c).
Unlikely, but *somebody* is doing it. How about a uwsgi log? If you want to nail down conclusively whether web2py is involved, try logging the content of the environ argument to gluon.main.wsgibase. What I'm suspecting is that you might have some boilerplace URL rewriting going on that's doing it before web2py sees the URL. Something along these lines: http://www.mydigitallife.info/redirect-or-rewrite-to-remove-double-or-multiple-slashes-in-url/ http://rosslawley.co.uk/2010/01/nginx-how-to-url-cleaning-removing.html