Web Hosting Talk







View Full Version : strange .htaccess phenomenon


maxbear
10-03-2001, 05:40 AM
Hi all,

I encounter a very strange .htaccess phenomenon.

I put a very simple .htaccess to protect a folder. Some users can access without any problem.

But some users report that the pop-up login box refuses to come up and they have a time-out error.

My .htaccess is like this:

AuthName "Members Only!"
AuthType Basic
AuthUserFile /folder/.htpasswd
<limit GET POST PUT DELETE>
require valid-user
</limit>

Is it the problem of my .htaccess or is it related to the Apache version? Any body have similar experiences? Thanks for any suggestions.

Bear

Jm4n
10-03-2001, 06:50 AM
Not that I think it matters, but there's no reason for the <Limit> part -- just put "require valid-user" without wrapping it in <Limit></Limit>.

I have read that some IE versions have a problem with spaces in the Realm (aka AuthName), even if it's inside quotes. You might try "Members_Only" and see if that helps.

Otherwise, I can't think of anything else that might cause this...