durusmail: quixote-users: Fix Trailing Slash bug?
Fix Trailing Slash bug?
2002-06-19
2002-06-19
2002-06-19
Fix Trailing Slash bug?
Patrick K. O'Brien
2002-06-19
import os
os.environ['SCRIPT_NAME'] = '/web'

Works like a charm. :-)

I'd suggest adding this to the docs in the section that talks about pretty
urls, but considering Greg's reaction to the first mention of this...

Seriously, though, I don't see what the "blech" was about. This is certainly
no worse than hacking Apache rewrite rules. Not everything needs to be
object-oriented. 

--
Patrick K. O'Brien
Orbtech
-----------------------------------------------
"Your source for Python software development."
-----------------------------------------------
Web:  http://www.orbtech.com/web/pobrien/
Blog: http://www.orbtech.com/blog/pobrien/
Wiki: http://www.orbtech.com/wiki/PatrickOBrien
-----------------------------------------------




reply