Changes

From SME Server
Jump to navigationJump to search
2,127 bytes added ,  02:05, 30 May 2013
no edit summary
Line 1: Line 1:  +
==Mod_Deflate for SME Server 7.x and 8.x==
 +
===Maintainer===
    +
Michel Van hees<br/>
 +
----
 +
 +
===Description===
 +
Activate mod_deflate on smeserver
 +
{{#smeversion:smeserver-mod_deflate}}
 +
 +
<br>
 +
<br>
 +
<br>
 +
<br>
 +
 +
 +
This contribution mod_deflate for smeserver is an optional module for the Apache HTTP Server, Apache v2 only. Based on Deflate lossless data compression algorithm that uses a combination of the LZ77 algorithm and Huffman coding. This module provides the DEFLATE output filter that allows output from Apache HTTP server to be compressed before being sent to the client over the network.
 +
 +
[http://httpd.apache.org/docs/2.0/mod/mod_deflate.html ModDeflate]
 +
 +
===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 : [http://bugs.contribs.org/bugs/buglist.cgi?action=wrap&classification=Contribs&product=SME%20Contribs&resolution=---&resolution=FIXED&resolution=NOTABUG&resolution=WONTFIX&resolution=UPSTREAM&resolution=DUPLICATE&resolution=WORKSFORME&component=smeserver-mod_deflate&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&list_id=16569| here]
 +
 +
 +
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-mod_deflate component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-mod_deflate|title=this link}}.
 +
 +
 +
----
 +
[[Category: Contrib]]

Navigation menu