Concrete5 Contact forms not working

Permalink
Here is the error when submit a form. try it atwww.www.chadwickpharmacy.co.nz/contact/...

It happens on a fresh new install of c5 latest version.

--------------------------

Not Acceptable
An appropriate representation of the requested resource /c5/index.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.

--------------------------

Is it something to do with my htaccess?

Im on a linux server, and never had problems with silverstripe or any other ecommerce or cms systems before

Sparx
 
Tony replied on at Permalink Reply
Tony
just a random guess, but is the DIR_REL variable set wrong in /config/site.php? if it's set to /c5/ try just setting to to '', like define('DIR_REL', '');
Sparx replied on at Permalink Reply
Sparx
so unsure whats happening :( Sucks!!!
Remo replied on at Permalink Reply
Remo
I know this is an old topic but someone might look for an answer..

Are you using mod_security? It seems that Concrete5 doesn't encode all characters (% in my case) and causes mod_security to think you're an attacker...

If you're luckly, you can disable it using a htaccess file:
<IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
</IfModule>


I'm not sure how easy it would be to fix Concrete5 because there are probably a few places where encoding doesn't work the way mod_security thinks it should work..