Basic Authentication w/ Apache 2.0 Fails
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > Basic Authentication w/ Apache 2.0 Fails




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Basic Authentication w/ Apache 2.0 Fails  
Kurt


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-21-04 04:13 AM

I've got an apache 2.0 server running on Red Hat Linux 8.0, and I've
tried to secure a couple of directories with basic authentication.  I
can get around my site just fine, accept when I try to access the
secure portions; I am always presented with the username/password
dialog box three times before getting a 401 Error page.

In httpd.conf, I've setup the AccessFileName directive for the default
of .htaccess.  There's a Directory section in httpd.conf for the
secured locations including an AllowOveride all directive.  .htaccess
includes the following:

AuthName "Secured"
AuthType Basic
AuthUserFile /location/of/file
require user myUserName
AuthAuthoritative on

The user file exists at the location specified, and it includes the
correct username and password, which is, of course, encrypted.

Any ideas?





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:34 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register