<IfModule mod_deflate.c> <IfModule mod_filter.c> SetInputFilter DEFLATE </IfModule> </IfModule>It works as expected except in the case that a matching RewriteRule directive is found, but I am not sure if I am missing something in my configuration or this is a bug or unexpected behaviour.
My test suite is the following: The folder/file structure is: /.htaccess /test.php /api/web/index.php And the contents of the .htaccess is: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^api(.*)$ api/web/index.php [L] The PHP files just outputs the body contents for testing.POSTing to /test.php or /api/web/index.php with a compressed body request gets decompressed correctly.
POSTing to /api/, /api/web/ or /api/web/something (that is any request to api/* will get redirected to /api/web/index.php) does not get the body decompressed.
Can anybody point to me what I am missing? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx