IP Stories

“A Written IP Related Activities”

[Apache] Web Access Error – Could not open password file: ~/.htpasswd

Posted by a. Rahman Isnaini r. Sutan on August 26, 2008

[Old File]..

Configuring a limited access on your httpd.conf for accessing your web.
But your access gives “Page Cannot be Displayed” or “Page Error” Contact Your Administrator : risnaini@ipv6.or.id

Tailing the /var/log/http-error.log as below :

[Fri Jul 11 14:45:06 2008] [error] [client 202.53.253.10] (2)No such file or directory: Could not open password file: /user/local/apache2/htdocs/freshmeat/.htpasswd
[Fri Jul 11 14:45:06 2008] [error] [client 202.53.253.10] (2)No such file or directory: Could not open password file: /user/local/apache2/htdocs/freshmeat/.htpasswd
[Fri Jul 11 14:45:06 2008] [error] [client 202.53.253.10] (2)No such file or directory: Could not open password file: /user/local/apache2/htdocs/freshmeat/.htpasswd
[Fri Jul 11 14:45:20 2008] [error] [client 202.53.253.10] (2)No such file or directory: Could not open password file: /user/local/apache2/htdocs/freshmeat/.htpasswd
Action : Please check your .htpasswd file location & fix it in .htaccess file. (check below, .htpasswd supposed to in directory freshvegetable/


AuthType Basic
AuthName “Authorized Sales Person Only – CONFIDENTIAL”
AuthUserFile /user/local/apache2/htdocs/freshvegetable/.htpasswd
<LIMIT GET>
require valid-user
</LIMIT>


a. rahman isnaini r.sutan

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>