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.
mod_deflate
Re: mod_deflate
Meines Wissens nicht. Da hilft auch kein Read the Fine Manual... den das modul lässt sich nicht laden.Gladi wrote:Hi,
Funktioniert der mod mittleweile überhaupt?
Re: mod_deflate
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
:(
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
Also folgendes: mod_deflate wird ja aller Vorraussicht nach geladen. meine httpd.conf sieht an der entsprechenden wie folgt aus:
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.
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>
Wenn jemand erfolgreich mod_deflate laufen hat würde ich mich sehr freuen, wenn ihr mir seine Config hier Posten könnte, thx.