Mod Deflate

From SME Server
Jump to navigationJump to search







mod deflate
NeedImage.svg
mod deflate logo
MaintainerMasterSleepy
Urlhttp://httpd.apache.org/docs/2.0/mod/mod_deflate.html
Source:smeserver-mod_deflate
Licenceopen source
Category

Webapps

Tags Apache Compression data


Mod_Deflate for SME Server 7.x, 8.x, 9.x, 10.x

Versions

Activate mod_deflate on smeserver

smecontribs 11:
smecontribs 10:
smecontribs 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.


Description

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.

ModDeflate

Install

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

dnf install smeserver-mod_deflate
yum --enablerepo=smecontribs install smeserver-mod_deflate
yum --enablerepo=smecontribs install smeserver-mod_deflate
/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


you can disable it per ibay

db accounts setprop IBAYNAME modDeflate disabled
systemctl restart httpd-e-smith

Uninstall

yum remove smeserver-mod_deflate

Bugs

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


"No open bugs found."

Changelog

Only versions released in smecontrib are listed here.

smeserver-mod_deflate-1.2-8.el8.sme Changelog: SME 11 (smecontribs)

2025/09/12 Jean-Philippe Pialasse 1.2-8.sme
- enable mod deflate for ibays [SME: 12076]

ibays{modDeflate} enabeld by default
2024/09/08 fix-e-smith-pkg.sh by Trevor Batley 1.2-7.sme
- Fix e-smith references in smeserver-mod_deflate [SME: 12732]
2024/09/07 cvs2git.sh aka Brian Read 1.2-6.sme
- Roll up patches and move to git repo [SME: 12338]

2024/09/07 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,

by assuming the date is correct and changing the weekday.
2024/02/28 Jean-Philippe Pialasse 1.2-5.sme
- revert logrotate, as taken care by httpd logrotate now [SME: 8901]
smeserver-mod_deflate-1.2-8.el8.sme Changelog: SME 10 (smecontribs)
2024/02/28 Jean-Philippe Pialasse 1.2-5.sme
- revert logrotate, as taken care by httpd logrotate now [SME: 8901]

2021/04/02 Jean-Philippe Pialasse 1.2-4.sme
- update event [SME: 11274]

- logrotate [SME: 8901]
2020/12/19 Brian Read 1.2-2.sme
- Initial import to SME10 tree [SME: 11274]
2015/09/23 stephane de Labrusse 1.2-1.sme
- Initial release to contribs9

2013/05/26 JP Pialasse 1.0-3.sme
- migrating default db to right place, cleaning spec [SME: 7624]

- Patch0