Admin-Ahead Community

Linux => Control Panels => Plesk => Topic started by: jominj on February 13, 2014, 10:34:54 pm

Title: 403 Forbidden Error when accessing the website
Post by: jominj on February 13, 2014, 10:34:54 pm
When we try to access the website we may get the "403 Forbidden Error"

When we search in the domains error log we could see  (13)Permission denied: /var/www/vhosts/domain.tld/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://domain.tld/

This error is due to apache does not have permission to read vhost folder
1. Find the user name used by apache service from the apache configuration file /etc/httpd/conf/httpd.conf.
2. Add that user to "psaserv" group. If the name is 'username' execute the command as
Code: [Select]
#usermod -a -G psaserv username