Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: ocean10000
My objective here is that i want to mask my redirect url so that only my domain would only appear in the URL/Address bar so when you tried to navigate to my default homepage, the redirect path will not be visible. Can anyone guide me how can i accomplish my goal?
here is my asp code:
<%@ Language=VBScript %>
I used the asp page in my default page content in the IIS. I tried also server.transfer("/home/default.html") in aspx as my default page content but a consistent error is being thrown - "Error executing child request for home/default.html".
Note also that frames will not fit my needs since this method will cover all the folders in my site and i dont want to do that, i would just likt to implement this in my default home page URL.
FYI: I used IIS6.0
Thank in advance!
[edited by: phranque at 1:41 pm (utc) on Feb. 5, 2009]
[edit reason] exemplified urls [/edit]
server.transfer will only work on pages processed by Asp. On a normal install of iis 6, html is handled by the static file handler not asp.
[edited by: Ocean10000 at 9:04 pm (utc) on Feb. 6, 2009]
Thanks for your reply. I cannot make the /home/ channel my root directory because I am currently using MCMS technology. The system restricts me from creating a posting under the root domain itself, and even if i can make the /home/ channel my root directory, the posting name "default.htm" will still display in the address bar. This still doesnt solve my dillemma.
You'll need a rewrite to connect the URL request to the right server filepath.
Additionally, you'll need a redirect such that if anyone asks for the content at the wrong URL, they are redirected to the correct URL.