mod_deflate

Apache, Lighttpd, nginx, Cherokee
Post Reply
gladi
Posts: 17
Joined: 2003-09-18 20:36
 

mod_deflate

Post 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.
snow
Posts: 4
Joined: 2003-04-06 15:14
 

Re: mod_deflate

Post by snow »

oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: mod_deflate

Post 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.
gladi
Posts: 17
Joined: 2003-09-18 20:36
 

Re: mod_deflate

Post 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

:(
gladi
Posts: 17
Joined: 2003-09-18 20:36
 

grml

Post 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.
Post Reply