Forum Moderators: mack
If you want to know all of the environment variables in a request, you can use a script like this perl script:
#!/usr/local/perl -w
use strict;
print "Content-type: text/html\n\n";
print join( "<br>\n", map { $_ . " => " . $ENV{$_} } keys( %ENV ) );
or an equivalent one in ASP.
Good luck.
You will get everything after the SERVER_NAME or domain name including the /. You just have to snip that off the front and anything else you dont want. You can just use a left to kill the slash.
<%= Request.ServerVariables("SCRIPT_NAME") %>
or
<%= Request.ServerVariables("PATH_INFO") %>