Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-17-2003, 10:15 PM   #1
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)

AllowOverride AuthConfig

AccessFileName .htaccess

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

<Directory /var/www/html/private>
AuthType Basic
AuthName "Password Required"
AuthUserFile /etc/users
order deny,allow
deny from all
Require User bkeating
satisfy any
and my password file was generated by;

#htpasswd -c /etc/users bkeating
I can't find documentation explaining this problem.
Old 11-17-2003, 10:39 PM   #2
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
figured it out;

Require User bkeating
Require valid-user


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 06:34 PM
.htaccess + PHP, without password prompt woranl Programming 5 11-26-2004 01:04 PM
Apache2 .htaccess - Unable To Get Password Prompt. magestic Linux - Software 2 10-27-2004 08:49 AM
why wont my box accept pings? disinformation Linux - General 5 01-05-2004 08:43 AM
RH 8.0 installer wont accept keyboard input exitsfunnel Linux - General 1 05-27-2003 10:18 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:31 AM.

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