2009/1/22 vince <[email protected]>: > > in short > > for the apache conf > WSGIScriptAlias / /var/www/devel/testwsgi.py > > http://localhost/abc/def > would become GET /abc/def inside testwsgi.py > > and with > WSGIScriptAlias /test /var/www/devel/testwsgi.py > > http://localhost/test/abc/def > would become GET /abc/def inside testwsgi.py > > i actually want GET /test/abc/def/ in testwsgi.py > with apache.conf > WSGIScriptAlias /test /var/www/devel/testwsgi.py > > so what i can think of is rewrite the url > from http://localhost/test/abc/def to http://localhost/test/test/abc/def > or change the path_info or whatever i can determine the original URL > > it's just after mod_rewrite the WSGIScriptAlias doesn't work that's > why i am trying to figure out if i can just modifiy path_info or > something else.
Look at value of SCRIPT_NAME. Read: http://www.python.org/dev/peps/pep-0333/#url-reconstruction Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
