Apache Forbidden You don't have permission to access / on this server.
Forbidden
You don't have permission to access / on this server.
[Sun Jan 23 15:28:12 2011] [crit] [client 96.44.31.12] (13)Permission denied: /www/vhosts/domain.com/httpdocs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Solution
- I've done a chmod 755 .htaccess and index.php and restarted Apache
- That wasn't the only issue, the issue was the httpdocs directory itself had the wrong permissions too.
- It needs to be chmod 755 httpdocs for it to work properly
So basically your htaccess and index.php should be 755 to work, and so should your main httpdocs directory or your equivalent eg. /var/www/html