LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache 2.0 - mod_auth .htaccess prompt comes up but wont accept (https://www.linuxquestions.org/questions/linux-software-2/apache-2-0-mod_auth-htaccess-prompt-comes-up-but-wont-accept-117267/)

bkeating 11-17-2003 10:15 PM

Apache 2.0 - mod_auth .htaccess prompt comes up but wont accept
 
As the title explains, I have a <directory> directive defined in my httpd.conf file and a 'password' file to store the users. I go to the url that has the password protected directory and it askes for a username and password, like it should. However, I type in the proper username and password and it just prompts me again. Yes, I have double checked the password files URL.

Here is my httpd.conf (relavant parts)

Code:


AllowOverride AuthConfig

AccessFileName .htaccess

<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>


<Directory /var/www/html/private>
AuthType Basic
AuthName "Password Required"
AuthUserFile /etc/users
order deny,allow
deny from all
Require User bkeating
satisfy any
</Directory>

and my password file was generated by;

Code:

#htpasswd -c /etc/users bkeating
I can't find documentation explaining this problem.

bkeating 11-17-2003 10:39 PM

figured it out;

changed:
Code:

Require User bkeating
with
Code:

Require valid-user


All times are GMT -5. The time now is 05:17 AM.