httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Michael" <ja...@truck.ds.adp.com>
Subject RE: [users@httpd] Authentication problem
Date Thu, 31 Jul 2003 13:40:34 GMT
Check permissions on the users file.  You most likely created it as root,
but the Apache daemon doesn't have root privs...

JLM

-----Original Message-----
From: tirumal b [mailto:tirumal_b@yahoo.com]
Sent: Wednesday, July 30, 2003 9:19 PM
To: users@httpd.apache.org
Subject: [users@httpd] Authentication problem


hello,

  i try to use authentication for certain directories.
I want to authenticate /var/www/html directory.
<Directory "/var/www/html">
AllowOverride Authconfig
</Directory>

placed the password file 'users' in ServerRoot dir
created by htpasswd -cm users username1

placed the .htaccess file in /var/www/html with
contents

AuthName "restricted stuff"
AuthType Basic
AuthUserFile /etc/httpd/users
require user username1

I get the login window when i try to access the
directory. when i give the valid username and password
it rejects me. what could be the problem

Thank you

tirumal


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
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



---------------------------------------------------------------------
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