From: Michael O'Brien [mailto:[EMAIL PROTECTED]]
Can anyone suggest some possible cause to why my htaccess file
is being ignored. The contents of my htaccess file is
AuthUserFile /apps/apache/bin/.htpasswd
AuthGroupFile /dev/null
AuthName Restricted Site
AuthType Basic
Limit GET POST
require valid-user
/Limit
AuthUserFile is supposed to point at the file containing your usernames and passwords.
Did you really do:
cd /apps/apache/bin
./htpasswd -c .htpasswd username
when you were making your password file? (i.e. why call a password file nearly the
same as the binary that made it and put it in a bin directory?) I usually have things
like:
AuthUserFile /home/site/admin/passwords/member_section.pwd
Which is a whole lot less confusing...
Anyway: Is your htaccess file really called htaccess? Is so, do you have:
AccessFileName htaccess
because the default is .htaccess and htaccess will not work on its own (all these
leading dots are part of the filename, remember).
Otherwise, check the error log and post the results.
Rgds,
Owen Boyle
__
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]