Share your knowledge at the LQ Wiki.
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 03-27-2003, 02:37 PM   #1
LQ Newbie
Registered: Mar 2003
Posts: 12

Rep: Reputation: 0
Angry Apache Authentication

Hey everyone. I am running Redhat 8 and am having problems with authentication. I am new to the Linux thing so please bear with me. I need to authenticate a link on a site and am having problems with it. I have dropped the link into a new directory on the machine inside of the serving directory (/var/www/html/ and file is in /var/www/html/level3/). I have the .htaccess file setup like so:

AuthType Basic
AuthName "Level 3 Tech Support Only"
AuthUserFile /var/www/passwdl3
require user level3

The only line I changed in the httpd.conf file is the AllowOverride line from:

AllowOverride None


AllowOverride AuthConfig

The site loads and when the link is clicked on I am able to get the login screen. My problem is that when I input the username and password it doesn't go. It gives me a 401 error saying that Authentication is Required. I have created the passwdl3 file with htpasswd and it is in that location. The user is in the list and the password I use still gives me a 401. I am using Redhat 8 with Apache 2.0.40. Yes I know it is out of date but it works for what I need it to do for now. Anyone have any ideas??? I have been trying to figure it out for 2 weeks now. Any advice would be appreciated

Old 03-27-2003, 02:42 PM   #2
LQ Newbie
Registered: Mar 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Also I have tried it in Digest Authentication and I get a 500 server error. Forgot to add that.
Old 03-27-2003, 06:50 PM   #3
LQ Newbie
Registered: Mar 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Nevermind. I found the problem. I had to chmod the password file to 755.


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
[SOLVED] Apache basic authentication gypsy_rabbi Linux - Security 3 01-17-2005 08:09 PM
Apache Authentication Problem sbrewer Linux - Software 1 08-23-2004 01:24 PM
Simple Apache Authentication ridertech Linux - Security 2 08-11-2004 03:15 PM
apache authentication plisken Linux - Software 3 02-28-2003 12:00 AM
apache authentication d-rez Linux - Security 1 05-30-2002 08:13 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:55 PM.

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