Hi, When i use my application through apache proxy i need to retreive a part of the referer, to know the root of my application (i don't know the exact terms...)
For example i have http://mydomain.tld/myapp/mypage with this .htaccess in www/myapp/ RewriteRule (.*) http://localhost:8888/$1 [P] I want to retreive /myapp So i do '/'+'/'.join(req.referer.split('/')[3:]) Is there a better solution ? Maybe a helper in webob ? thx -- William Dodé - http://flibuste.net Informaticien indépendant _______________________________________________ Paste-users mailing list [email protected] http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
