+ Reply to Thread
Results 1 to 1 of 1
-
Administrator
- Join Date
- Mar 2010
- Posts
- 76
How to install mod_gzip in a cpanel server?
Download the source fromsourceforge.net
1. wget http://easynews.dl.sourceforge.net/s...zip-1.X.YY.tgz
Untar the source
2. tar -xzf mod_gzip-1.X.YY.tgz
3. cd mod_gzip*
Set the apxs binary directory as /usr/local/apache/bin/apxs in the Makefile
4. vi Makefile and set APXS?=/usr/local/apache/bin/apxs
Now make and make install
5. make
6. make install
Open apache conf and add the following things:
7. vi /usr/local/apache/conf/httpd.conf
and add the following:
LoadModule gzip_module libexec/mod_gzip.so
AddModule mod_gzip.c
Now restart apache.
8. service httpd restart
That's it. Mod_gzip is enabled


LinkBack URL
About LinkBacks



Reply With Quote