Page 1 of 1
mod_deflate
Posted: 2003-09-18 20:42
by gladi
Hi,
ich meine ich echt alles abgegrast zu haben wie man doch diesen Scheiß mod_deflate für die Komprimierung von bestimmten Dateitypen über http beim Apache2 ans Laufen bekommt. Alles negativ. :(
Funktioniert der mod mittleweile überhaupt?
Wenn ja, wäre es extrem cool, wenn mir hier einer ein paar Tipps geben könnte. thx.
Re: mod_deflate
Posted: 2003-09-19 01:01
by snow
Re: mod_deflate
Posted: 2003-09-19 07:10
by oxygen
Gladi wrote:Hi,
Funktioniert der mod mittleweile überhaupt?
Meines Wissens nicht. Da hilft auch kein Read the Fine Manual... den das modul lässt sich nicht laden.
Re: mod_deflate
Posted: 2003-09-20 12:41
by gladi
Also laut phpinfo() wirds geladen:
Loaded Modules
core prefork http_core mod_so mod_access mod_actions mod_alias mod_auth mod_auth_dbm mod_autoindex mod_cgi mod_dir mod_env mod_expires mod_include mod_log_config mod_mime mod_negotiation mod_setenvif mod_status mod_suexec mod_userdir sapi_apache2 mod_cache mod_deflate mod_file_cache mod_mem_cache mod_ssl mod_proxy mod_rewrite
:(
grml
Posted: 2003-09-20 19:38
by gladi
Also folgendes: mod_deflate wird ja aller Vorraussicht nach geladen. meine httpd.conf sieht an der entsprechenden wie folgt aus:
Code: Select all
<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/php text/htm text/plain text/php3 text/xml text/php4
<Location />
# Insert filter
SetOutputFilter DEFLATE
# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
# Don't compress images
SetEnvIfNoCase request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
<ifModule mod_headers.c>
# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary
</ifModule>
</Location>
</ifModule>
Was passiert nun? - Eben nichts. Alle aufgerufene Seite liefern eine leere Seite.
Wenn jemand erfolgreich mod_deflate laufen hat würde ich mich sehr freuen, wenn ihr mir seine Config hier Posten könnte, thx.