Forum
mod_security issue?
Hi,
My own IP is being blocked by my web host because of something which happens when I edit a collection. It seems like the process of attaching an image to an item in a collection is triggering an error with mod_security. Host has said that since it's shared hosting editing the security settings is not an option. Is there anything I can change within Perch to fix it?
The upload of the image itself seems to work fine. It's when I try to save changes on the collection item that I get the problem. I've had Perch (not runway) running on the same server without a problem.
Thanks.
ModSecurity: Access denied with code 403 (phase 2).
Match of "rx (/install/index\\\\.php|/admin/fetch_data_af\\\\.php\\\\?action=create_txt_file_from_af_table$|/admin/structure/feeds/edit|^/([a-z]+/)?wp-admin/(?:admin|options-general)\\\\.php\\\\?page=wpsc-settings)" against "REQUEST_URI" required. [file "/usr/local/apache/conf/modsec_rules/10_asl_rules.conf"] [line "370"] [id "340159"] [rev "36"] [msg "Atomicorp.com UNSUPPORTED DELAYED Rules: Generic SQL inline command protection (MM)"] [data "null,null,null,"] [severity "CRITICAL"]
[uri "/perch/core/apps/content/collections/edit/"]
Can you post your diagnostics?
Did you edit this? It looks like there's a lot missing.
I removed lines which identified the server, db user names that sort of thing, I didn't think I should post that on a public forum. Can I email it to you instead?
I think ultimately there's going to be little I'll be able to do to correct this. It's a false positive match for the security rule - so essentially a server configuration issue.