Welcome to WebmasterWorld Guest from 34.228.115.216

Forum Moderators: ocean10000

Message Too Old, No Replies

IIS is authenticating my pages

and asking me to login?

     
10:16 am on Jun 11, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member trillianjedi is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 15, 2003
posts:7256
votes: 3


Hoping someone can help. I have very very little IIS experience (and having to use IIS 5.0 for this project, but it's only a prototype).

IIS is asking to AUTH on every webpage in my www directory.

Header I get back looks like this:-

HTTP/1.1 401 Access Denied
Server: Microsoft-IIS/5.0
Date: Fri, 11 Jun 2010 10:15:23 GMT
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
Content-Length: 4046
Content-Type: text/html

I'm guessing this may be related to file permissions or something, but don't know where to start.

Any pointers ?

Thanks!
12:04 pm on June 11, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 1, 2005
posts:732
votes: 0


It's been a while since I last used IIS5, and I don't have a test machine with it installed so I can only give you a couple of pointers.

- Make sure that 'Enable Anonymous Access'* is checked, take note of the Anonymous username.
- Check that this user has at least read rights to the folder containing the website and its subfolders.

* This needs to be checked for the website in IIS, in IIS6 it is under the tab 'Directory Security'
12:52 pm on June 11, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member trillianjedi is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 15, 2003
posts:7256
votes: 3


Thanks Marcel - you pointed me in the right direction.

It wasn't read access, as these are PHP scripts. So what I discovered is that the anonymous user that a user has to be when they're anonymous (sorry, but this is why I love Linux so much :) ) has to have exec priv's to run the scripts.

So I changed the user that anonymous users are, and it's all working great now.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members