C
Chris
Folk
My MS web host tells me I have to use some script to redirect domain names to sub-webs/directories within my web, if I am to retain MS Frontpage functions
I've tried following their (inadequate) instructions but to no avail, and their support service is no help either (surprise !!)
Can anyone advise
What I've done is
1. Created new page in the root directory of my web and named that page default.as
2. I've deleted all html coding in the page and replaced it with an edited version of the script the host provides
<
EnableSessionState=Fals
host = Request.ServerVariables("HTTP_HOST"
if host = "ABC.net" or host = "www.ABC.net" the
response.redirect("http://XYZ.co.uk/subdirectory1/default.htm"
elseif host = "DEF.co.uk" or host = "www.DEF.co.uk" the
response.redirect("http://XYZ.co.uk/subdirectory2/default.htm"
elseif host = "GHI.co.uk" or host = "www.GHI.co.uk" the
response.redirect("http://XYZ.co.uk/subdirectory3/default.htm"
els
' if we get no host or undefined hos
response.redirect("http://XYZ.co.uk/default.htm"
end i
%
3. I've saved that page and uploaded to my web (whilst retaining the default.htm page in the root directory also
Any ideas ? Sorry - but I'm an absolute beginner on ASP coding etc !
Many thanks !
Chri
My MS web host tells me I have to use some script to redirect domain names to sub-webs/directories within my web, if I am to retain MS Frontpage functions
I've tried following their (inadequate) instructions but to no avail, and their support service is no help either (surprise !!)
Can anyone advise
What I've done is
1. Created new page in the root directory of my web and named that page default.as
2. I've deleted all html coding in the page and replaced it with an edited version of the script the host provides
<
EnableSessionState=Fals
host = Request.ServerVariables("HTTP_HOST"
if host = "ABC.net" or host = "www.ABC.net" the
response.redirect("http://XYZ.co.uk/subdirectory1/default.htm"
elseif host = "DEF.co.uk" or host = "www.DEF.co.uk" the
response.redirect("http://XYZ.co.uk/subdirectory2/default.htm"
elseif host = "GHI.co.uk" or host = "www.GHI.co.uk" the
response.redirect("http://XYZ.co.uk/subdirectory3/default.htm"
els
' if we get no host or undefined hos
response.redirect("http://XYZ.co.uk/default.htm"
end i
%
3. I've saved that page and uploaded to my web (whilst retaining the default.htm page in the root directory also
Any ideas ? Sorry - but I'm an absolute beginner on ASP coding etc !
Many thanks !
Chri