Mod_Deflect Enabled - Not detecting

Discussion in 'Installation/Configuration' started by strang3r, Dec 3, 2014.

  1. strang3r

    strang3r Member

    I am following this tutorial on how to enable mod_deflect for apache2

    http://www.howtoforge.com/apache2_mod_deflate

    I am using apache 2.2 from ISPConfig and multiphp version 5.5 , 5.6

    I added this in my global apache conf file.
    Code:
    /etc/apache2/apache.conf
    
    at the end.


    Code:
    # Custom Configuration WordPress W3Total Cache
    
    SetOutputFilter DEFLATE
    SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ \
        no-gzip dont-vary
    SetEnvIfNoCase Request_URI \
        \.(?:exe|t?gz|zip|bz2|sit|rar)$ \
        no-gzip dont-vary
    SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
    
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    
    DeflateFilterNote Input input_info
    DeflateFilterNote Output output_info
    DeflateFilterNote Ratio ratio_info
    LogFormat '"%r" %{output_info}n/%{input_info}n (%{ratio_info}n%%)' deflate
    CustomLog /var/log/apache2/deflate_log deflate
    Then I make apache2 restart. I also check if it got enabled in server using command and it says enabled. But if I go to my plugin for checking it then It is not detecting. It shows me this -

    Code:
     
    mod_deflate: Not detected (required for disk enhanced Page Cache and Browser Cache)
    mod_env: Not detected (required for disk enhanced Page Cache and Browser Cache)
    mod_expires: Not detected (required for disk enhanced Page Cache and Browser Cache)
    mod_headers: Not detected (required for disk enhanced Page Cache and Browser Cache)
    mod_mime: Not detected (required for disk enhanced Page Cache and Browser Cache)
    mod_rewrite: Not detected (required for disk enhanced Page Cache and Browser Cache)
    mod_setenvif: Not detected (required for disk enhanced Page Cache and Browser Cache) 
    

    Any suggestion would be appreciate for fixing it. :(

    Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The problem is your plugin here, the plugin cant read the state of an apache module if the website is not run with mod_php on a apache server. So you can assume that its working, just ignore the wrong status in your plugin.
     
  3. strang3r

    strang3r Member

    Ah

    I am using Fast-Cgi.

    So mod_deflect doesn't work with it?. :eek:
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    mod_deflate works fine with fastcgi. What I meant is that it works but the status in your plugin is wrong. Same for all other modules listed above. the plugin developer should know that btw. that he can not query for the existance of thes eplugins in modern and secure php modes like fcgi or fpm. So its a issue with the status view in the plugin only and not with mod_deflate.
     
  5. strang3r

    strang3r Member

    I see! Thanks! :D
     

Share This Page