Page 1 of 1

Strange error cc:

Posted: Sat May 01, 2010 7:40 pm
by pacop2
I have two phpbb forums 3.0.7-PL1

In both forums, when I write "cc:" (without the quotes), I get this error:

--------------------
Not Acceptable
An appropriate representation of the requested resource /foros/posting.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------

This is when I preview the page, or when I try to post the text :!: :!:

ps. I have deleted .htaccess to test, this is no related with this.
ps2. All work ok with the forums but this strange error

Re: Strange error cc:

Posted: Sat May 01, 2010 7:57 pm
by KevC
That kind of message is often related to your hosts having an incorrect setting on their mod_security. Ask them to check if your posting.php file is tripping the mod_security to disallow it.

Re: Strange error cc:

Posted: Tue May 04, 2010 4:34 pm
by pacop2
Thank you, for sure this is the problem.

I have mod_security, with default options, and there are this related lines:

#phpbb XSS
SecFilterSelective REQUEST_URI "/posting\.php\?mode=reply\&t=.*userid.*phpbb2mysql_t=(<[[:space:]]*script|(http|https|ftp)\:/)"
SecFilterSelective REQUEST_URI "/posting\.php\\?.*(<[[:space:]]*script|(http|https|ftp)\:/)"

I don't understand what they do, but for sure this is the problem. Thanks.