I am developing a site for our company's Intranet.
Part of the site denies anonymous access so that the web pages can pickup the login ID. We are using IIS 5 and IE 6 on Windows 200 so the domain/userID is sent when anonymous access is disabled.
This is ok when the site is placed in a virtual folder under the main site ( as it works and I can see my login ID.
The problem is when the site is put in IIS as another web site and a host header is added as "appname.companyname.com" ( As it is only a developlemt site we didn't create a DNS entry but added an entry to the hosts file instead.
Now when the a page that denies anonymous access is denied is accessed we get the NT login style prompt. Stranger still I can leave it blank and still click on OK and it continues as normal and I will not see the NT prompt again (until I close IE and open it again).
It seems like it has trouble authenticating my details for the first time but cannot figure out why or how to fix it.
Any ideas?
Simon
Part of the site denies anonymous access so that the web pages can pickup the login ID. We are using IIS 5 and IE 6 on Windows 200 so the domain/userID is sent when anonymous access is disabled.
This is ok when the site is placed in a virtual folder under the main site ( as it works and I can see my login ID.
The problem is when the site is put in IIS as another web site and a host header is added as "appname.companyname.com" ( As it is only a developlemt site we didn't create a DNS entry but added an entry to the hosts file instead.
Now when the a page that denies anonymous access is denied is accessed we get the NT login style prompt. Stranger still I can leave it blank and still click on OK and it continues as normal and I will not see the NT prompt again (until I close IE and open it again).
It seems like it has trouble authenticating my details for the first time but cannot figure out why or how to fix it.
Any ideas?
Simon