Make sure you have something like
AllowOverride AuthConfig
.....
</Directory>
in your httpd.conf, otherwise .htaccess files get ignored.
Thomas
-----Ursprüngliche Nachricht-----
Von: Fluffy Bananachunks [mailto:suse.announce@bananachunks.org]
Gesendet: Freitag, 28. September 2001 04:08
An: suse-security@suse.com
Betreff: [suse-security] Can't seem to get .htpasswd to work =(
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bah! For the life of me, I can not get .htpasswd/.htaccess to work on my
SuSE7.2 ( Apache/1.3.19 (Unix) (SuSE/Linux) mod_layout/1.0 mod_throttle/3.0
mod_fastcgi/2.2.2 mod_ssl/2.8.3 OpenSSL/0.9.6a mod_perl/1.25 mod_dtcl
PHP/4.0.5 ).
I have everything (that I know to set up, anyway) set up as:
###########################################################
me@me:~/public_html
- -rw-r--r-- 1 me me 209 Sep 27 21:27 .htaccess
- -rw-r--r-- 1 me me 13 Sep 27 21:28 /home/me/.htgroup
- -rw-r--r-- 1 me me 20 Sep 27 21:32 /home/me/.htpasswd
/home/me/public_html/.htaccess:
AuthName "Restricted"
AuthType Basic
AuthUserFile /home/me/.htpasswd
AuthGroupFile /home/me/.htgroup
<Limit GET POST>
Require group chunks
</Limit>
/home/me/.htpasswd:
test:VJdx0yi1Y3LKc
{blank line as suggested on one site; also tried without}
/home/me/.htgroup:
chunks: test
############################################################
I've tried by group, user, "valid-user", with and without "Limit" in
.htaccess, with and without a group (left off and /dev/null) .... The
'password box' always comes up, but no matter what, does not authorize me.
Anyone have any insight as to what I'm skipping or missing here?
TIA
Geo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7s9t5o2oOGEnz8fYRAkFeAJ9eP/osgicxUvmQ3TxgUzDA2QeSVgCcC8yU
voBtQ9LRKLAqPF17kJeskrA=
=dGgz
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: suse-security-unsubscribe@suse.com
For additional commands, e-mail: suse-security-help@suse.com