Look for url and self_url in the CGI docs.
In reply to Re: Rebuilding GET Parameters without ENV{'REQUEST_URI'} by matija in thread Rebuilding GET Parameters without ENV{'REQUEST_URI'} by svsingh