C
Competitive Dad
I have a curious issue which is really causing me to scratch my head.
I have a site that has two virtual directories attached to it (same physical
folder). One virtual directory uses Windows Authentication, the other is
Anonymous. It is hosted on Windows 2003 server.
I have a Sign In button which when a user successfully enters credentials
they get directed from the anonymous site to the Windows authentication site.
There is something on a master page that checks for authentication and
directs accordingly.
The curious part is when I come to access the site via a browser from
another machine. If I access via IP address, I click Sign In, get a Windows
security challenge, enter a domain user that has access and everything is
fine.
If I access via the hostname (hostname is mapped via WINS) I get the
challenge as expected, but it never allows the user access, I get a 401 error.
Anyone any ideas as to why an IP address would be okay, but the hostname
wouldn't be?
Thanks,
Competitive Dad
I have a site that has two virtual directories attached to it (same physical
folder). One virtual directory uses Windows Authentication, the other is
Anonymous. It is hosted on Windows 2003 server.
I have a Sign In button which when a user successfully enters credentials
they get directed from the anonymous site to the Windows authentication site.
There is something on a master page that checks for authentication and
directs accordingly.
The curious part is when I come to access the site via a browser from
another machine. If I access via IP address, I click Sign In, get a Windows
security challenge, enter a domain user that has access and everything is
fine.
If I access via the hostname (hostname is mapped via WINS) I get the
challenge as expected, but it never allows the user access, I get a 401 error.
Anyone any ideas as to why an IP address would be okay, but the hostname
wouldn't be?
Thanks,
Competitive Dad