Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    112
    Likes Received:
    0
    Trophy Points:
    66
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. nixgurus

    nixgurus Member

    Joined:
    Feb 16, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    51
    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,608
    Likes Received:
    32
    Trophy Points:
    238
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice