ASP Redirect by Domain

Results 1 to 2 of 2

Thread: ASP Redirect by Domain

  1. #1
    Join Date
    Dec 1969

    Default ASP Redirect by Domain

    i have the following ASP code to redirect by domain used. This works but is it possible to have the url in the browser only shoe the domain like and not include the full URL like ?<BR><BR>&#060;%response.buffer=true%&#062;<BR> &#060;%<BR> Dim theSRV<BR> theSRV = Request.ServerVariables("SERVER_NAME")<BR> Select Case theSRV<BR> Case "" Response.Redirect("/page1.htm")<BR> Case "" Response.Redirect("/page2.htm") <BR> Case "" Response.Redirect("/directory1") <BR> Case "" Response.Redirect("/directory2") <BR> End Select<BR> %&#062; <BR><BR>&#060;HTML&#062; <BR><BR>&#060;BODY&#062; <BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: ASP Redirect by Domain

    not particularly advanced. at all.<BR><BR>use host headers, set up a new site for each domain. see or my site, link below (IIS section).<BR><BR>j<BR>http://www.readthe****

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts