
Hello guys, I have a problem with enabling compression of my website using mod_deflate. I currently host my website on apache server. I checked with commends
Code:
<?php phpinfo(); ?>
if mod_deflate and gzip are enabled and they are. This is how my .htaccess file looks like:
Code:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> ExpiresActive On ExpiresByType image/gif A604800 ExpiresByType image/png A604800 ExpiresByType image/jpg A604800 ExpiresByType image/jpeg A604800 ExpiresByType image/x-icon A604800 ExpiresByType text/css A604800 <ifModule mod_deflate.c> AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript </IfModule>
I checked with compression test tool if compression is enabled but it’s not. Any idea how to fix it? thanks, Mike
This entry passed through the Full-Text RSS service — if this is your content and you’re reading it on someone else’s site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends:
- Massacres That Matter – Part 1 – ‘Responsibility To Protect’ In Egypt, Libya And Syria
- Massacres That Matter – Part 2 – The Media Response On Egypt, Libya And Syria
- National demonstration: No attack on Syria – Saturday 31 August, 12 noon, Temple Place, London, UK