Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Jan 30, 2026, 04:53 AM

Title: Plesk hosted website or its newly uploaded images are not shown: 403 forbidden e
Post by: Suhitha on Jan 30, 2026, 04:53 AM
Question: Plesk hosted website or its newly uploaded images are not shown: 403 forbidden error


Applicable to:



Symptoms

403 Forbidden
SELinux policy is in enforcing state:
# getenforce
Enforcing

psa-selinux package may be absent. The command below returns nothing:

# rpm -qa | grep psa-selinux


Cause

Invalid SELinux security context. For example, SELinux security contexts for the uploaded images can show:

# ls -Z /var/www/vhosts/example.com/httpdocs/wp-content/uploads/image.jpg
system_u:object_r:initrc_tmp_t:s0 /var/www/vhosts/example.com/httpdocs/wp-content/uploads/image.jpg


Resolution

1.Connect to the server through SSH;

2.Install psa-selinux package if it is missing:

# yum install psa-selinux

3.Restore broken SELinux security contexts for the affected website files:

# restorecon -R /var/www/vhosts/example.com/httpdocs/