Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / 406 error

406 error

Locked

Started by chrome_orange on 23 Sep 2006, 7:02 PM · Views: 1,190

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
23 Sep 2006, 7:02 PM
#1
chrome_orange avatar

chrome_orange

Totally Zenned

Join Date:
Jun 2004
Posts:
457
Plugin Contributions:
0

406 error

ok

Got a 406 error today when I was editing a product

Forum didn't have a huge amount of help on the subject so I thought I post what I have been able to find out / do

Got hold of my host and for once they were quite helpful

Following the spate of outages a couple of weeks ago, the server techs installed the apache mod_security module. It is essentially a webserver-level firewall.

It shouldn't have caused any problems, but it could interpret some actions as bad, typically POSTs containing what it considers dodgy data.

I have found a way of disabling mod_security. Just place the following in an .htaccess file in the directory containing the script file:

SecFilterEngine Off

Still need to look at why it does it but the htaccess thing fixed it

23 Sep 2006, 7:16 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,742
Plugin Contributions:
0

Re: 406 error

Thanks for the tip! Never know when that might come in handy.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.