Around Sun,Nov 03 2002, at 10:20, Den Locke, wrote: > I am trying to password protect one of my apache virtual hosts but no > matter what I do I can't seem to get it working. I have read all the > documentation I could find and it seems like it should be pretty easy and > straightforward. When I connect to my website, it prompts me for a > username/password but it never lets me in! I know the username/passwords > are right! I have created my .htaccess file. I changed permissions (chmod > 666!) on .htaccess. It points (in full path) to a .htpasswd file. I > modified permissions on .htpasswd too. I changed the AllowOverride > AuthConfig in my httpd.conf file. I've tried authenticating with different > web browsers or with the http://username:password@;mydomain.com url. > Nothing works. Am I missing something? > I wouldn't have the .htaccess chmod 666, I'd make it 644
You created the usernames and passwords for .htpasswd with htpasswd right? sample .htaccess could be: AuthUserFile /path/to/.htpasswd AutGroupFile /dev/null AuthName NotSureIt's needed AuthType Basic <Limit GET POST> require valid-user </Limit> This works for me. -- [EMAIL PROTECTED] >From /usr/bin/fortune: It has just been discovered that research causes cancer in rats. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list