The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

an unknown filter was not added: DEFLATE

Discussion in 'General Discussion' started by craigedmonds, Mar 9, 2012.

  1. craigedmonds

    craigedmonds Well-Known Member

    Joined:
    Oct 29, 2007
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Europe
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am seeing this in my apache error log thousands of times.

    Code:
    [Fri Mar 09 21:04:59 2012] [error] an unknown filter was not added: DEFLATE
    How do I stop it from logging this entry?

    Or is this a serious issue?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    This error message would mean that someone is using mod_deflate code in an .htaccess file, but your server doesn't have mod_deflate installed.

    If you want to install mod_deflate, simply use WHM > EasyApache (Apache Update) or /scripts/easyapache to add DEFLATE in the Exhaustive Options List for Apache 2 / 2.2.

    You can check to confirm it isn't installed using this command in root SSH:

    Code:
    /usr/local/apache/bin/apachectl -M | grep -i deflate
    Thanks!
     
  3. nixgurus

    nixgurus Member

    Joined:
    Feb 16, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Google
    cPanel Access Level:
    Root Administrator
    When I try to run given command I got following response

    Code:
    root@server [~]# /usr/local/apache/bin/apachectl -M | grep -i deflate
    Warning: DocumentRoot [/home/hopeup/public_html/hopeuplift/gallery/school] does not exist
    Warning: DocumentRoot [/home/problog/public_html/t5] does not exist
    Syntax OK
    root@server [~]#
    I checked mentioned directories are missing but how I can trace the exact cause of this log entry ?

    Code:
    [error] an unknown filter was not added: DEFLATE
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    As I mentioned, if you don't have mod_deflate, you'd get that error. To resolve it, install it:

    Otherwise, you'd have to do a search of .htaccess files that might have entries for it.
     
Loading...

Share This Page