ispCP - Board - Support
How to activate gzip /deflate for all domains ? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: How to activate gzip /deflate for all domains ? (/thread-10536.html)



How to activate gzip /deflate for all domains ? - Spheerys - 04-26-2010 10:06 PM

Hi,

I want to activate the gzip compression for all website on my server.

How can I do that with ispCP ?


RE: How to activate gzip /deflate for all domains ? - joximu - 04-26-2010 10:59 PM

for the nightly backup?

-> /etc/ispcp/ispcp.conf
it has a comment...

/J


RE: How to activate gzip /deflate for all domains ? - hxbro - 04-30-2010 05:16 AM

If you want to enable gzip compression on apache:

Code:
a2enmod deflate

then you'll need to configure the gzip/deflate module (on debian it'll be in /etc/apache/mods-available/deflate.conf), here is what I use:

Code:
<IfModule mod_deflate.c>
          AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript
</IfModule>

test the apache config

Code:
apache2ctl configtest

then restart apache if all is ok

Code:
/etc/init.d/apache2 restart

(some of the above commands may be different for other dists)