Mysterious 406 Error in IE/Opera

Having trouble installing serendipity?
Post Reply
Badr
Posts: 4
Joined: Sun Oct 08, 2006 3:27 pm

Mysterious 406 Error in IE/Opera

Post 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.
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Hmmm-hmmnnn. Garvin, should we add this to the standard .htaccess?
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply