Current time: 11-23-2024, 11:25 AM Hello There, Guest! (LoginRegister)


Post Reply 
How to activate gzip /deflate for all domains ?
Author Message
Spheerys Offline
Junior Member
*

Posts: 101
Joined: Feb 2008
Reputation: 0
Post: #1
How to activate gzip /deflate for all domains ?
Hi,

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

How can I do that with ispCP ?
04-26-2010 10:06 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: How to activate gzip /deflate for all domains ?
for the nightly backup?

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

/J
04-26-2010 10:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
hxbro Offline
Junior Member
*

Posts: 34
Joined: Feb 2007
Reputation: 0
Post: #3
RE: How to activate gzip /deflate for all domains ?
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)
04-30-2010 05:16 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)