jazzIIIlove
asked on
URL rewrite issue in IIS 7.5. Want to redirect www.abc.com to www.abc.com/home.aspx. Help?
Hi there;
I trying to do an URL rewrite issue in IIS 7.5. I want to redirect www.abc.com to www.abc.com/home.aspx.
I followed this but failed.
http://geekswithblogs.net/kit/archive/2009/04/19/131291.aspx
Regards
I trying to do an URL rewrite issue in IIS 7.5. I want to redirect www.abc.com to www.abc.com/home.aspx.
I followed this but failed.
http://geekswithblogs.net/kit/archive/2009/04/19/131291.aspx
Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've requested that this question be closed as follows:
Accepted answer: 0 points for jazzIIIlove's comment #a38373219
for the following reason:
<system.webServer><b r /> <defaultDocument><br /> <files><br /> <clear /><br /> <add value="Home.aspx" ; /><br /> </files><br /> </defaultDocument><b r /></system.webServer> ;
Accepted answer: 0 points for jazzIIIlove's comment #a38373219
for the following reason:
<system.webServer><b
That's just another way to make "Home.aspx" your default document as I suggested. That may be an easier way for you to do it but you actually have changed the configuration by doing that. ??
ASKER
Actually, above comment is somehow parsed to html tags, the thing I have done in web.config file is as follows:
but i found a solution for this, voila:
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="Home.aspx" />
</files>
</defaultDocument>
</system.webServer>
Regards.
but i found a solution for this, voila:
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="Home.aspx" />
</files>
</defaultDocument>
</system.webServer>
Regards.
ASKER
ok, another problem is that actually I want to award points to you, but failed to do so. Help me?
regards.
regards.
You'll have to wait until the mods respond. Then they can open the question so you can change the points.
The page I linked above show exactly what you did. It's about halfway down the page.
The page I linked above show exactly what you did. It's about halfway down the page.
ASKER
ok, done, can you also check for another redirecting question:
https://www.experts-exchange.com/questions/27857286/non-www-to-www-redirecting-problem-in-iis-a-little-urgent.html
https://www.experts-exchange.com/questions/27857286/non-www-to-www-redirecting-problem-in-iis-a-little-urgent.html
Thanks.
ASKER
but i found a solution for this, voila:
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="Home.aspx" />
</files>
</defaultDocument>
</system.webServer>
regards