Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Host headers on index page
Name: jefro Date: June 16, 2006 at 14:00:03 Pacific OS: xp pro CPU/Ram: athlon Product: homemade
Comment:
I swear I used to know how to make a single ip:port run multiple web pages using an initial web page that had host header info. Is that wrong? All I can find is how to get IIS or Apache to run host headers, not an index or default page. My wife has a web page and I was going to put up another page for her pal. Thought I could make a simple index page that would then select the correct page using the host header sent information.
I'm sure this is too easy of a question, dunno why I can't seem to find the answer.
Name: StreamLogic Date: August 6, 2006 at 15:50:32 Pacific
Reply:
Jefro,
You can eaily do this with IIS as you have seen. However, if you are using ASP or some other server-side language, you can also interrogate the HTTP header information. In classic ASP this is accomplished through the Request.ServerVariables() collection. One you find the information which lets you know which site to go to, you can simply redirect to the appropriate landing page.
I hope this helps point you in the right direction.
Summary: Hi, When i view my page in a browser that is used at Full Screen it aligns the way I designed, but when i change the window size (Making it Smaller) the items on the page start to overlap each other s...
Summary: I wanna create a frame in the space below on this page: [url]www.clan-wmf.com/forum.htm[/url] Ive preinstalled some forums, so id like it to display the actual forums when a user clicks on the forum p...
Summary: There's 20+ pages and the content is not identical but I do need that disclaimer on each page in that folder. I should've mentioned thse are cold fusion pages and php would not be an option at this p...