Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hai Everybody,

I want to get an user friendly url for for login page to my website.for example my requirement is to get a root url "http://funmpodium.com/" like this for login page

but my present root URL is "http://funmpodium.com/Login.aspx" how do i get it.and used the below code.

rewrite
rules
rule name="HTTP to HTTP redirect" stopprocessing="true"
match url="(.*)"
conditions
add input="{HTTP}" ignorecase="true" />
conditions>
action type="Redirect" redirecttype="Found" url="http://{HTTP_HOST}/{R:1}" />
rule>
rules>
rewrite>


but it is listing directies instead of login page.

any one please help me
Posted
Updated 11-Sep-13 20:12pm
v5

1 solution

If your concern is just your landing page needs to be your login. You can achieve this is a far simpler way.

IIS has default document settings.

You can add login.aspx to this list of document and then when you hit the root for that application it will load the login page.

Configuring Default Documents in IIS 7[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900