Tom Lobato
2014-10-29 12:49:29 UTC
"SetInputFilter DEFLATE" is working perfectly when going directly to a test.php.
But when using with rewriterule below, index.php will be called and its input is yet compressed, sounding like the rewriterule is making apache bypass the input filter.
---
SetInputFilter DEFLATE
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
---
But when using with rewriterule below, index.php will be called and its input is yet compressed, sounding like the rewriterule is making apache bypass the input filter.
---
SetInputFilter DEFLATE
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
---