Re: getting the path in a cgi script

2005-10-14 Thread Kalle Anke
On Fri, 14 Oct 2005 18:20:10 +0200, Fredrik Lundh wrote (in article <[EMAIL PROTECTED]>): > import os > path_info = os.environ.get("PATH_INFO") Tackar ... det var nåt enkelt det mindes jag :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: getting the path in a cgi script

2005-10-14 Thread Fredrik Lundh
Kalle Anke wrote: > I know I've done this once before ... I think ... but now I can't figure out > how to do it > > I've set my web server to use an alias similar to this > >ScriptAlias /xx/ "/Library/WebServer/CGI-Executables/xxx.cgi/" > > which makes it possible for me to write > >http:/

getting the path in a cgi script

2005-10-14 Thread Kalle Anke
I know I've done this once before ... I think ... but now I can't figure out how to do it I've set my web server to use an alias similar to this ScriptAlias /xx/ "/Library/WebServer/CGI-Executables/xxx.cgi/" which makes it possible for me to write http://127.0.0.1/xx/some/kind/of/path m