[thelist] Simulating Folders that Don't Exist

Dan McCullough dan.mccullough at gmail.com
Wed Jan 26 09:18:03 CST 2005


try isapirewrite.com


On Wed, 26 Jan 2005 08:44:15 -0600, Rob Smith <rob.smith at thermon.com> wrote:
> >404-page (404=Page not found) that redirects the visitor to the
> >appropriate page?
> 
> No... I was leaning more towards grabbing the url on the default.asp page,
> splitting the Request.ServerVariables("HTTP_HOST") and do something like:
> 
> Dim site
> site = Request.ServerVariables("HTTP_HOST")
> 
> if "ABC" = site(uBound(site)) then
>        response.redirect "ABC.asp"
> end if
> 
> But IIS is stopping that before the visitor even gets to this page and goes
> and looks for a folder ABC that doesn't exist.
> 
> I'd like to use Apache URL rewrite, but I'm on IIS.
> 
> Rob
> 
> --
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>


More information about the thelist mailing list