- Plesk for Linux
- Domain is inaccessible with 404 error.
- Rewrite rules specified in
/var/www/vhosts/example.com/httpdocs/.htaccessfile do not work.
- FPM application served by nginx handler is set in Domains > example.com > PHP Settings .
/var/www/vhosts/example.com/logs/error_logthe following error is shown:
CONFIG_TEXT: [error] 20463#0: *1329372 "/var/www/vhosts/example.com/httpdocs/en/component/users/index.html" is not found (2: No such file or directory)
When FPM application served by nginx is enabled, the website stops using
file and rewrite rules from
rewriting rules to Additional nginx directives under Domains > example.com > Apache and nginx settings.
Note: rewrite rules should be formed according to nginx syntax.
Another solution is to change PHP support for domain from FPM application served by nginx to FPM application served by Apache under Domains > example.com > PHP Settings.