[BangPypers] How to retrieve current URL in CGI scripting

Vivek Rajendran vivekbest86 at yahoo.com
Tue Nov 24 05:39:17 CET 2009


Hi,
     I would like to know how to get the current url inside the cgi script
where I'm using it.
For Ex:
     I'm having index.py in location /var/www/html/foobar/ in server with IP
10.0.0.12

     When I retrive this page from browser, I want to know the current URL
as "http://10.0.0.12/foobar/"

     Do we have any way to do this? If then, please let me know.

Thanks and Regards
Vivek Rajendran




-- 
View this message in context: http://old.nabble.com/How-to-retrieve-current-URL-in-CGI-scripting-tp26490399p26490399.html
Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com.



More information about the BangPypers mailing list