On Sun, 23 Sep 2001 17:11:44 +0200, Martin F Krafft writes: >trying to get apache to authorize users through .htaccess. this isn't >my first time, but it's not working and i am clueless. > >i can either configure the following settings via .htaccess (having >set AllowOverride AuthConfig for Directory /, or i can put the lines >into the Directory / container: > > AuthType Basic > AuthName "admin.home.madduck.net" > AuthUserFile .htpasswd > AuthGroupFile /dev/null > Require valid-user > >no matter where i place .htpasswd, or how i name it, whether i give >its location relatively to ServerRoot or absolute anywhere on the >machine, apache complains in its error.log that
HereĀ“s what working for me: [EMAIL PROTECTED]:~$ grep -i auth /etc/apache/httpd.conf | egrep -v "^\#" LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so AllowOverride FileInfo AuthConfig Limit AuthType Basic AuthUserFile /etc/apache/hawara.pwf AuthName "nua hawara" cheers, &rw -- -- Q: What is the DMCA, exactly? -- A: The Copyright Lawyers Lifetime Employment Act. ----
pgpdUG6aL7cgX.pgp
Description: PGP signature