Articles in this section

Redirection rules and other settings configured in the .htaccess file do not work on a website in Plesk for Linux

Plesk for Linux kb: technical ABT: Group B

Applicable to:

  • Plesk for Linux

Symptoms

  • Redirection rules and other settings defined in .htaccess file are not applied on a website in Plesk for Linux
  • It is not possible to choose PHP handler served by Apache in Plesk > Domains > example.com > PHP settings;

Cause

The option Proxy mode is turned off in Domains > example.com > Apache & nginx Settings > nginx settings

When the Proxy mode is disabled, Apache is turned off and the site will be handled by Nginx which doesn't work with .htaccess files

Resolution

Apply the following solution:

Turn on the Nginx Proxy mode
  1. Log in to Plesk GUI
  2. Go to Domains > example.com > Apache & nginx Settings > nginx settings > Enable the option Proxy mode > Click OK to apply the changes
Was this article helpful?

Comments

1 comment
Date Votes
  • Hello

    The htaccess to nginx extension is not available anymore.

    0

Please sign in to leave a comment.