Web Servers on Unix and Linux - Basic Authentication w/ Apache 2.0 Fails

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > June 2004 > Basic Authentication w/ Apache 2.0 Fails





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Basic Authentication w/ Apache 2.0 Fails
Kurt

2004-06-20, 11:13 pm

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?
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com