httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Basic Authentication not Authenticating
Date Fri, 13 May 2005 06:30:41 GMT
> -----Original Message-----
> From: Richard Crawford [mailto:rcrawford@unexmail.ucdavis.edu]
> Sent: Donnerstag, 12. Mai 2005 19:02
> To: users@httpd.apache.org
> Subject: [users@httpd] Basic Authentication not Authenticating
> 
> 
> I'm trying to implement Basic authentication for my user 
> directory on my 
> server, but it's bombing on me.  When I go to the protected site, I'm 
> prompted for a username and password as expected; however, 
> the user is not 
> authenticated even if they put in the proper username and password.
> 
> I'm using Apache 2.0.52 on Fedora Core 3.  SELinux is 
> enabled, but the 
> security context for the relevant directories has been set 
> properly using the 
> chcon command.
> 
> The official Apache documentation at 
> http://httpd.apache.org/docs-2.0/howto/auth.html offers no 
> advice for my 
> situation, neither do any of my Apache books, so I'm 
> obviously missing 
> something very basic.

You might look in the error log - that's pretty basic...

Rgds,
Owen Boyle

Disclaimer: Any disclaimer attached to this message may be ignored. 
Diese E-mail ist eine private und personliche Kommunikation. Sie hat
keinen Bezug zur Borsen- bzw. Geschaftstatigkeit der SWX Gruppe. This
e-mail is of a private and personal nature. It is not related to the
exchange or business activities of the SWX Group. Le present e-mail est
un message prive et personnel, sans rapport avec l'activite boursiere du
Groupe SWX.


> 
> Here's the user_dir portion of my httpd.conf file:
> 
> =======================================================
> <IfModule mod_userdir.c>
>     UserDir enable richard jenipurr
>     UserDir public_html
> </IfModule>
> 
> <Directory /home/*/public_html>
>     AllowOverride All
> </Directory>
> =======================================================
> 
> And here's the contents of /home/richard/public_html/.htaccess in the 
> directory:
> 
> 
> =======================================================
> AuthType Basic
> AuthName "Secret Stories"
> AuthUserFile /home/richard/.passwords
> 
> require valid-user
> 
> =======================================================
> 
> The permissions on both .htaccess and .passwords are set to 
> 644, so Apache 
> should be able to read them.  I've confirmed -- several times -- that 
> the .passwords file exists in the location I've indicated in 
> .htaccess.  And 
> I've used htpasswd to create the username and password several times.
> 
> What is going on and how do I fix it?
> 
> 
> -- 
> Richard S. Crawford
> http://www.mossroot.com
> 
> -- 
> Richard S. Crawford
> Programmer III
> UC Davis Extension Distance Education Group
> 2901 K Street
> Sacramento, CA  95816
> (916)327-7793
> http://unexdlc.ucdavis.edu
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message