Monday, March 14, 2011

Permission denied: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

If you got error with passenger +httpd Please check a log and change permission as follows. its just permission issue.

------------------------------------------------------------------------------
 tail -f /var/log/httpd/error_log
[Mon Mar 14 02:16:36 2011] [crit] [client 125.18.56.179] (13)Permission denied: /home/user/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
-------------------------------------------------------------------------------


[root@server conf]# chmod  -R 755 /home/user/*
[root@server conf]# /etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]