Cobra Forum

Plesk Panel => Webserver => Topic started by: mahesh on Dec 18, 2024, 05:38 AM

Title: Website hosted in Plesk shows error 502 in the browser: AH01071:
Post by: mahesh on Dec 18, 2024, 05:38 AM
Question
Website hosted in Plesk shows error 502 in the browser: AH01071: Got error 'Primary script unknown'
Symptoms
[proxy_fcgi:error] [pid 17521:tid 140525340448512] [client 35.181.112.20:0] AH01071: Got error 'Primary script unknown'
#There is incorrect ownership on some items in the WWW root directory
of the domain 'example.com' ............................................ [ERROR]

Cause
Incorrect domain file permissions.

Resolution
1. Connect into the server via SSH

2. Fix the domain permissions with the following Plesk utility:

#plesk repair fs example.com -y
If issue is present on several domains, execute the following command instead:

#plesk repair fs -y