Page 1 of 1

Mysterious 406 Error in IE/Opera

Posted: Mon Oct 09, 2006 2:08 am
by Badr
During installation of S9Y I chose "Expert installation" (or whatever it is called). I filled in everything and set my options and pressed the relevant button to proceed.

Repeatedly the result of this was a vague 406 Error (Not Acceptable) in my browser. I reproduced it in Internet Explorer 6 and Opera 9.02. So immediately after pressing the button to save the settings and proceed you get this error page. Nothing gets saved because of this error.

Soon I found out that the installation went fine when choosing "Simple installation". Nonetheless, my happiness was premature because the same 406 error came back when I tried to change and save my Configuration in the S9Y backend later on.

I was truly dumbstruck because I didn't find anything on this error in the forums. To cut a long story short, after some frustration I read on another site that this was an Apache-related error, in particular an error related to the Apache module mod_security. After I added this:

Code: Select all

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
to the standard S9Y .htaccess file the 406 error was history!

Hope this can help others with this problem.

Thanks go out to UrbanGiraffe.

Posted: Wed Oct 11, 2006 8:46 pm
by judebert
Hmmm-hmmnnn. Garvin, should we add this to the standard .htaccess?

Posted: Wed Oct 11, 2006 9:04 pm
by garvinhicking
Hi!

I'm a bit afraid as to whether it would forbid things from operation.

Plus, disable mod_security for s9y is not that much clever; instead the webprovider should take a reasonable mod_security setup that does not hinder s9y's extecution rather than disabling mod_security completely. It has some advantages, after all - which I'd not like to force disabled.

Best regards,
Garvin