Ich habe erst kürzlich meinen Apache 2.2.9 Server mit dem mod_deflate Modul ausgerüstet. Deshalb hier mal ein paar conf-Dateien.
Die httpd.conf ist weitgehend unverändert. Loadmodule.conf ebenso. Interessanter ist die global.conf mit dem zusätzlichen CustomLog deflate. Schlußendlich die mod_deflate.conf, mit den vollständigen Einstellungen für dieses Modul. php5.conf ist wieder Alltagskost.
Der Beweis in der deflate_log (x/y = komprimiert/unkomprimiert, die Prozentzahl in den Klammern ist die Kompressionsrate):
"GET /rte/typo3conf/ext/tinyrte/sample.css?1225989045920 HTTP/1.1" 276/912 (30%)
"GET /rte/typo3conf/ext/templavoila/mod1/index.php?id=23 HTTP/1.1" 7042/31652 (22%)
"GET /rte/typo3conf/ext/templavoila/mod1/index.php?id=5 HTTP/1.1" 6554/25061 (26%)
"GET /rte/typo3conf/ext/templavoila/mod1/index.php?id=10 HTTP/1.1" 4646/15856 (29%)
"GET /rte/typo3conf/ext/templavoila/mod1/index.php?id=10 HTTP/1.1" 4646/15856 (29%)
"GET /rte/typo3conf/ext/templavoila/mod1/index.php?id=10 HTTP/1.1" 4646/15856 (29%)
"GET /rte/typo3conf/ext/templavoila/mod1/index.php?id=10 HTTP/1.1" 4646/15856 (29%)
"GET /rte/typo3conf/ext/templavoila/mod1/index.php?id=10 HTTP/1.1" 4646/15856 (29%)
"GET /rte/typo3conf/ext/templavoila/mod1/index.php?id=10 HTTP/1.1" 4646/15856 (29%)
"GET /rte/typo3conf/ext/templavoila/mod1/index.php?id=131 HTTP/1.1" 8603/49130 (17%)