LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-17-2003, 11:15 PM   #1
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
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.
 
Old 11-17-2003, 11:39 PM   #2
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
figured it out;

changed:
Code:
Require User bkeating
with
Code:
Require valid-user
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache wont accept document root to be in a mounted fat partion a1ex_007 Red Hat 1 04-09-2005 07:34 PM
.htaccess + PHP, without password prompt woranl Programming 5 11-26-2004 02:04 PM
Apache2 .htaccess - Unable To Get Password Prompt. magestic Linux - Software 2 10-27-2004 09:49 AM
why wont my box accept pings? disinformation Linux - General 5 01-05-2004 09:43 AM
RH 8.0 installer wont accept keyboard input exitsfunnel Linux - General 1 05-27-2003 11:18 AM


All times are GMT -5. The time now is 04:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration