Michael Sterling
asked on
Default To Login.aspx
Can someone point me in the direction of some links (or just show me on here) how to get my app to default to my login page (which uses authentication)?
Open IIS
Got your website and right click to select properties
Go to the documents tab and add the page you would like to be the default
Set-Default-Page.png
ASKER
@Burnie: i do have that in my web.config
@ewongoya: i couldn't find that properties page,..i'm using IIS 7
let me explain a little further, i've got a folder within my sight that is called admin. it has it's own set of pages (i.e. default.aspx, login.aspx etc.) within it to allow administrative things to be done within the site,..so when the user goes to, for example: mySite/Admin
i want the login.aspx page to be the default page if they haven't already logged in...
@ewongoya: i couldn't find that properties page,..i'm using IIS 7
let me explain a little further, i've got a folder within my sight that is called admin. it has it's own set of pages (i.e. default.aspx, login.aspx etc.) within it to allow administrative things to be done within the site,..so when the user goes to, for example: mySite/Admin
i want the login.aspx page to be the default page if they haven't already logged in...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you. this is what i needed!
<authentication mode="Forms">
<forms loginUrl="Login.aspx">
</authentication>