the environment variables for a cgi program are always set by the webserver running the code. otherwise, how would they get set?
REQUEST_URI is nice to have but since it's not in the CGI specs webservers are not under any obligation to provide it. Also the MS support page "Environment Variables Returned by IIS via CGI" doesn't list REQUEST_URI either.
| [reply] |