• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Input what does this fix: PPP-19965 (actually fix?)

larryk

Regular Pleskian
Rewrite rules from the .htaccess file do not work when PHP support is enabled with PHP-FPM handler. (PPP-19965)

what does that mean?

thanks
 
There were following steps to reproduce this bug:

1. Disable url cache in your browser. For Firefox: go to about:config and switch off 'network.http.use-cache' option.
2. Create domain with web hosting and enable php support with php-fpm module on apache.
3. add .htaccess on domain with the follow strings:

RewriteEngine On
RewriteBase /
RewriteRule ^(.*)\.php$ http://google.com [L,R=301]

4. Create some index.php on domain. E.g. with phpinfo();
5. try to open web page http://<youdomain>/index.php

Actual result - this rule doesn't work.

The problem was in fact that ProxyPassMatch directive redirects all REQUEST_URI before the .htaccess rules was used.

Now this behaviour is fixed.
 
Back
Top