- Plesk for Linux
- The site fails to open with 403 Forbidden error via HTTPS;
- There are the following records in
CONFIG_TEXT: (13)Permission denied: /var/www/vhosts/example.com/httpsdocs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: https://www.example.com
The domain example.com displays different data when accessing using HTTP and HTTPS;
Path of Document Root for a domain changes on each reconfiguration from /httpdocs to /httpsdocs: the "root" statement in the file
/var/www/vhosts/system/example.com/conf/nginx.confpoints to /httpsdocs instead of /httpdocs
Document Root is set to /httpdocs in Plesk > Tools & Settings > Domains > example.com > Hosting Settings > Document Root;
Plesk was upgraded from the older version where the Document root was changed from split location (http in /httpdocs and https in /httpsdocs) using Separate SSL/TLS and non-SSL/TLS content option.
Enabled compatibility mode for the legacy option "Separate SSL/TLS and non-SSL/TLS content"
- Log into Plesk.
- Disable the mode under Plesk > Tools & Settings > Domains > example.com > Hosting Settings > uncheck Run the website in compatibility mode for the legacy option "Separate SSL/TLS and non-SSL/TLS content