Difference between revisions of "Mod Deflate"

From SME Server
Jump to navigationJump to search
Line 37: Line 37:
 
=== Bugs ===
 
=== Bugs ===
 
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
and select the smeserver-foo component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-mod_deflate|title=this link}}.
+
and select the smeserver-mod_deflate component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-mod_deflate|title=this link}}.
  
 
[[Category: Contrib]]
 
[[Category: Contrib]]

Revision as of 19:18, 27 May 2013


modDeflate for SME Server

PythonIcon.png Skill level: Easy


Maintainer

Description

This contribution 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.

Requirements

This contrib work both on SME Server V7 and V8

Installation

This contrib is currently held in the smecontribs repository, so the following commands will install on your smeserver. For SME7/SME8

yum install --enablerepo=sme7contribs smeserver-mod_deflate

in according in bugzilla:7431 the rpm for sme8 is in smedev for the moment

signal-event post-upgrade;  signal-event reboot

After that you can change the db parameter

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
signal-event post-upgrade;  signal-event reboot

Bugs

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