httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yoshiaki Saita" <sa...@code.iis.toyama-u.ac.jp>
Subject Re: [users@httpd] reading .htpasswd file
Date Wed, 16 Jul 2003 02:21:49 GMT

You check AuthUserFile-name. Is it correct?

Also you check permission of ROOT directory.
Apache runs NOBODY user for default setting.
ROOT directory should set the permission +x for other group user.



> although configuration in httpd.conf shown below seems ok, and
> permissions are set to most permissive on directory and .htpasswd file,
> apache cannot open and read file, and thus browser denies access when
> username and password are entered in user authentication pop up. problem
> persists across browsers, and methods (i.e. <Directory...</Directory>>
> vs. .htaccess). Error log confirms that apache cannot open .htpasswd
> file created with .htpasswd, despite moving database to diffrent
> directories. I have also tried changing users in httpd.conf. Thank
> you.
>
> <Directory /var/www/html/*/public_html>
> Options ExecCGI
> AddHandler cgi-script .cgi
> AllowOverride None
> Order Deny,allow
> Allow from all
> </Directory>
> #
> <Directory /var/www/html/nella/>
> AuthName nella
> AuthType Basic
> AuthUserFile /root/.userpass
> Require user nella
> AllowOverride none
> </Directory>
>
>
>
>
> ---------------------------------------------------------------------
> 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