[thelist] rewrite requests with IIS?

Mike King mike.king at redroom.co.uk
Fri Jan 25 09:30:07 CST 2002


At 10:17 25/01/02 -0500, Chris Blessing said:


>Question though, if the 404 is setup as a url, how will I determine where
>the user came from without using the referrer http header?

It's passed in the URL.
To strip it out to a var use something like this:
<%
strURL = Replace(Request.Querystring(), "404;http://" &
Request.ServerVariables("SERVER_NAME"), "")
%>

Cheers
mk




More information about the thelist mailing list