406 Error

Discussion in 'Site & Server Administration' started by egdcltd, Feb 26, 2007.

  1. #1
    For some reason, a script of mine has started giving a 406 error when you submit an article to it. It worked before, and I've made no changes. I don't even know what this error is, and the script is encrypted.

    Does anyone know how I could go about fixing it please?
     
    egdcltd, Feb 26, 2007 IP
  2. tespio

    tespio Peon

    Messages:
    16
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    406 error is usually "Not accepted" method. Maybe your hoster installes mod_security into the apache.. check with them and see how this can be fixed.

    If they did installed mod_securityin apache but you dont want to use them add the following to your .htaccess:

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    I hope this helps you.
     
    tespio, Feb 26, 2007 IP
    asgsoft likes this.
  3. egdcltd

    egdcltd Peon

    Messages:
    691
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I tried doing that in the .htaccess file and it worked.

    Thanks.
     
    egdcltd, Feb 26, 2007 IP
  4. tespio

    tespio Peon

    Messages:
    16
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You most welcome :)
     
    tespio, Feb 26, 2007 IP