Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    JZM
    JZM is offline
    Member
    Join Date
    Aug 2007
    Posts
    10

    Default Not Acceptable - 406

    How could I fix this issue?



    Not Acceptable

    An appropriate representation of the requested resource / could not be found on this server.
    Code:
    HTTP/1.1 406 Not Acceptable
    Content-Length: 381
    Keep-Alive: timeout=5, max=97
    Connection: Keep-Alive
    Content-Type: text/html; charset=iso-8859-1
    
    --96c94e49-H--
    Message: Access denied with code 406 (phase 2). Pattern match "\b(?:(?:s(?:ys(?:(?:(?:process|tabl)e|filegroup|object)s|c(?:o(?:nstraint|lumn)s|at)|dba|ibm)|ubstr(?:ing)?)|user_(?:(?:(?:constrain|objec)t|tab(?:_column|le)|ind_column|user)s|password|group)|a(?:tt(?:rel|typ)id|ll_objects)|object_(?:(?:nam|typ)e|id)| ..." at REQUEST_HEADERS:Cookie. [file "/usr/local/apache/conf/modsec2.user.conf"] [line "88"] [id "959904"] [msg "Blind SQL Injection Attack"] [data "user_password"] [severity "CRITICAL"] [tag "WEB_ATTACK/SQL_INJECTION"]
    Apache-Error: [file "core.c"] [line 3543] [level 3] File does not exist: /home/careerid/public_html/406.shtml
    Action: Intercepted (phase 2)
    Stopwatch: 1311745252061144 8317 (7330 8020 -)
    Producer: ModSecurity for Apache/2.5.13 (ModSecurity: Open Source Web Application Firewall).
    Server: Apache

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Not Acceptable - 406

    When mod security stops something from happening, its logged, and shows a file to the end user called 406.shtml, you don't have one though.

    File does not exist: /home/careerid/public_html/406.shtml
    You can create error pages from within cPanel > Advanced section > Error Pages > Show All HTTP Error Status Codes tab.

    The ID for the rule that was tripped is: id "959904" as seen in that message. You can edit your rules as you see fit if this rule is blocking something on your website that you'd like to have working but doesn't due to this. Problem with that is, editing the ruleset disables that rule for the entire server.

    Here's a great tool that allows you to disable a rule for just one site on the server, instead if you're interested:
    ConfigServer ModSecurity Control
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

Similar Threads & Tags
Similar threads

  1. not acceptable problem
    By ratserver in forum New User Questions
    Replies: 15
    Last Post: 08-22-2009, 02:49 PM
  2. Mod Security blocks Lynx browser with 406 Not Acceptable
    By anoetic in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 02-10-2008, 12:25 PM
  3. 406 - Not Acceptable Error
    By ukpro in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-01-2005, 12:49 AM
  4. Analog & Webalizer Not Generating - "406 Not Acceptable"
    By circlec in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-22-2005, 05:28 AM
  5. Acceptable Use Policy Control
    By equens in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-12-2002, 12:36 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube