Page 1 of 1

500 error and mod_security

Posted: Fri Feb 29, 2008 4:04 am
by baresi
I have read the 'questions for your hoster' thread and seen a few threads here about having trouble and getting 500 errors when adding or editing pages (clicking submit or apply) , unless I missed it there hasn't been any sort of solution other than asking the host to relax mod_security rules. I got the below error and I spoke to my host, it doesn't look like they will relax or change the patterns so my question is why editing (adding one line of text) an existing page for example should trigger at all, ofcourse the pattern rules are for the host to answer but if I can get more ideas why maybe I can ask them again. Any help is appreciated, thanx :)

[Thu Feb 28 13:20:18 2008] [error] [client MY IP] mod_security: Access denied with code 500. Pattern match "VMTF" at POST_PAYLOAD [severity "EMERGENCY"] [hostname "www.MYDOMAIN.com"] [uri "/admin/editcontent.php?content_id=1364&page="]

cmsms1.2.3
linux
php 5.2.4

Re: 500 error and mod_security

Posted: Fri Feb 29, 2008 4:28 am
by JeremyBASS
some of the modules will pop up a 500 error for alot of things... Check out my time having to deal with it...
http://forum.cmsmadesimple.org/index.php/topic,19791.0.html

Laters

Re: 500 error and mod_security

Posted: Fri Feb 29, 2008 5:02 pm
by Pierre M.
Hello,
baresi wrote: mod_security: Access denied ... Pattern match "VMTF" [uri "/admin/editcontent.php?content_id=1364&page="]
Yes, such a uri shouldn't hurt anybody. I haven't googled to know what VMTF is but you should investigate with your host why this pattern blocks such an innocent uri.
May be a workaround : rename your /admin folder to /abc123 (and adjust config.php for it)

Pierre M.

Re: 500 error and mod_security

Posted: Fri Feb 29, 2008 5:54 pm
by baresi
I thought google had everything hehe, can't find VMTF so I hope my host can tell me what is the pattern rule they have set up.