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 -----------------------------------------------