|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
||||
|
||||
|
subdomain forwarding
I'm using an asp file to handle my subdomains since I don't have a server version of windows so I can't just add a new site to IIS, unfortunately. This is what it looks like:
<% Response.Write Request.ServerVariables("HTTP_HOST") If Request.ServerVariables("HTTP_HOST")="mail.luci.ca" Then Response.Redirect "http://www.luci.ca/mail/" Else Response.Redirect "http://www.luci.ca/index.html" End If %> This changes what is in the address bar to what it's forwarded to. Is there any way of not doing that. Say, to make the person think he's really at mail.luci.ca when he's really at luci.ca/mail? |
|
#2
|
|||
|
|||
|
I don't know a way to do this easily. As a guess, there is some commercial component which I think is called iisrewrite which might work.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
||||
|
||||
|
hmm....
does Apache make adding subdomains any easier? I've been thinking of making the switch... |
|
#4
|
|||
|
|||
|
Quote:
I think it does. But apache makes running asp pages a lot more difficult and in some cases impossible. |
|
#5
|
||||
|
||||
|
meh... I don't really believe in asp anyways... I only used it in this case because that's the first solution I ran into...
I think I'll wait till I get a Linux box before setting up Apache though... thanks for the help... |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > subdomain forwarding |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|