EntropySink
Nothing & Everything => Open Discussion => Topic started by: hans on February 25, 2008, 05:49:00 PM
-
For me at least. I've been getting that stupid 406 error the first time I go to ES for the day (well browser session rather).
Firefox on XP
Step 1:
Close all open browsers
Step 2:
Open new browser and go to http://entropysink.com/forums
Step 3:
See 406 message
Fixed by adding www to domain
http://www.entropysink.com/forums causes no problems
-
same.
Not Acceptable
An appropriate representation of the requested resource /forums/index.php could not be found on this server.
Apache/1.3.39 Server at www.entropysink.com Port 80
-
1
-
Ober, is this host stupid enough to run mod_security? Quick look on the SMF forum seems to be pointing to that.
-
I'm talking to the host about it. Sorry if anyone was kept out for the past 15 minutes or so... I threw in a redirect that totally didn't fucking work.
And Mike, why are you so against mod_security? I had another host complain about SMF and mod_security.
-
Because it is a giant POS that keeps scripts that aren't stupid from working properly.
-
They turned it off... please let me know if someone is getting this error still.
-
The redirect posted in the first message worked. I think I see what the problem was.
SMF does a check to see if you went to http://somesite.blah/ instead of http://www.somesite.blah/ and provided no action is happening it will redirect to http://www.somesite.blah/. Now since you just opened the browser the PHP session hasn't been created yet so you get a URL like: http://www.entropysink.com/forums/index.php?PHPSESSID=2f973baf041e53d40ab42de889736c58;www which causes mod_security to choke. But when you try again you have a session id and SMF is now surpressing the PHPSESSID in the url and mod_security no longer chokes.
-
Eh... if I should turn it back on, let me know.