MLUG: [MLUG] Apache basic auth question
[MLUG] Apache basic auth question
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apache Experts,

I have a problem with Apache basic auth. I want to loosely protect a 
directory, in this case one with lecture materials. Basic authentication, 
nothing big. I followed the docs and howtos and created

- the password file with htpasswd

- A section in httpd.conf as follows:

<Directory /path/to/protected/directory>
	AuthType Basic
	AuthName "Access restricted to BE333 students"
	AuthUserFile "/path/to/passwords/passwords"
	Require user BE333
</Directory>

And, yes, the mod_auth module is loaded.

I tried several browsers, but they all answer the same thing:

Authorization Required

This server could not verify that you are authorized to access the document 
requested. Either you supplied the wrong credentials (e.g., bad password), or 
your browser doesn't understand how to supply the credentials required.

And the browser doesn't even open the dialog to ask for authentication!

This is Apache 2.0.40. I recently had a major upgrade, and before the upgrade 
it worked. I'm not sure, but I think it was already Apache 2.x (I ran RH 7.2 
and had the patches current, and I remember there were some Apache problems).

Any ideas? Google is sparse with its answers...

Thanks,
Mark

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members