Difference between revisions of "Mod deflate"

From SME Server
Jump to navigationJump to search
Line 27: Line 27:
 
  /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
 
  /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
 
  /etc/rc.d/init.d/httpd-e-smith sigusr1
 
  /etc/rc.d/init.d/httpd-e-smith sigusr1
 +
 +
===Configuration===
 +
 +
After that you can change the db parameter in a root terminal
 +
config show modDeflate
 +
modDeflate=service
 +
    level=9
 +
    status=enabled
 +
The value must between 1 (less compression) and 9 (more compression).
 +
X=(1 to 9)
 +
config setprop modDeflate level X
 +
config setprop modDeflate status enabled/disabled
  
 
=== Uninstall ===
 
=== Uninstall ===

Revision as of 21:29, 27 May 2013

Mod_Deflate for SME Server 7.x and 8.x

Maintainer

Michel Van hees


Description

Activate mod_deflate on smeserver

Contrib 10:
Contrib 9:
smeserver-mod_deflate
The latest version of smeserver-mod_deflate is available in the SME repository, click on the version number(s) for more information.







Install

Install with the following command and it will install all of the required packages for you.

yum --enablerepo=smecontribs install smeserver-mod_deflate

then you should issue

signal-event post-upgrade; signal-event reboot

or alternatively

/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/init.d/httpd-e-smith sigusr1

Configuration

After that you can change the db parameter in a root terminal

config show modDeflate 
modDeflate=service
    level=9
    status=enabled

The value must between 1 (less compression) and 9 (more compression). X=(1 to 9)

config setprop modDeflate level X 
config setprop modDeflate status enabled/disabled

Uninstall

yum remove smeserver-mod_deflate

Bug

list of known bugs : here


Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-mod_deflate component or use this link .