Mobile app version of vmapp.org
Login or Join
Sue5673885

: How to enable compression in WAMP installed on Windows Server? How to enable compression in WAMP running on Windows Server 2008? I searched the net and I followed these steps given here: http://www.zigpress.com/2009/04/09/en

@Sue5673885

Posted in: #Apache #Wamp #WindowsServer2008

How to enable compression in WAMP running on Windows Server 2008?

I searched the net and I followed these steps given here: www.zigpress.com/2009/04/09/enabling-gzip-on-wamp/.
But after restarting my WAMP the icon got yellow not green.

Than followed this post: forum.wampserver.com/read.php?2,93406.
Again the same problem my WAMP icon after restarting gets yellow.

This is the code I put in Apache httpd.conf:

<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript application/javascript
</ifmodule>

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Sue5673885

2 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

For use, AddOutputFilterByType should also activate the filter module. Uncomment LoadModule filter_module modules/mod_filter.so in the httpd.conf file

10% popularity Vote Up Vote Down


 

@Bryan171

To enable Deflate compression for resources with WAMP (thus Apache), you can use this following code in your .htaccess file:

<IfModule mod_deflate.c>
<FilesMatch ".(html|php|txt|xml|js|css)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>


It works well for several websites I own.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme