What is the correct configuration if only the login page needs SSL?

X

X-Killer

I've written a website with a login page which uses forms authentication
against a username/password table. I've configured the web.config with
forms authentication and with loginUrl="login.aspx" in web.config and
doesn't accept anonymous login. The application runs normally as expected.
However, when I change the loginUrl="https://somewhere.net/Apps/login.aspx",
the famous grey 'Windows Login' box pops out instead of my login.aspx.

It seems that my server thinks that I'm redirecting the login page to a
remote server but I'm certainly not.

Any comment is appreciated. Thanks in advance.
 
T

Tampa.NET Koder

Make sure IIS authentication settings are not overriding the web.config
settings. Also check folder permisisons.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top