On 2 Sep 2007, at 18:40, Graham Dumpleton wrote:
> I ask as it isn't a standard CGI variable, nor required by WSGI. It
> seems perhaps to be a hack to workaround problems with some WSGI
> adapters which doesn't set SCRIPT_NAME correctly.

Actually it's a hack to workaround problems with some WSGI adapters  
which *do* set SCRIPT_NAME properly. That is, to /whatever/blah.wsgi.  
That's all well and good, but it's used by some functions such as  
web.url, and then you end up with the generated URLs starting with / 
whatever/blah.wsgi/..., which I don't want, because I'm trying to  
mod_rewrite that bit away.

- Adam

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to