Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Sep 04, 2025, 03:39 AM

Title: All domains show 403 Forbidden in Plesk: You don't have permission to access
Post by: Suhitha on Sep 04, 2025, 03:39 AM
Question: All domains show 403 Forbidden in Plesk: You don't have permission to access


Symptoms

You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Or, the blank page is shown instead of content.


(13)Permission denied: /var/www/vhosts/example.com/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://example.com/
(13)Permission denied: [client 203.0.113.2:39024] AH00529: /var/www/vhosts/example.com/httpdocs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/vhosts/example.com/httpdocs/' is executable

Cause

Apache service does not have proper permissions to vhost or httpdocs folder.


Resolution

Fix Apache user permissions:

              For Debian


#grep APACHE_RUN_USER /etc/apache2/envvars
export APACHE_RUN_USER=www-data

Add that user to the psaserv group. For example, if the Apache user is www-data, you would add the user in the psaserv group as below:

# usermod -a -G psaserv www-data

# service apache2 restart