White file location missing?
Posted: Tue Jul 23, 2013 3:10 pm
Hi All,
I need to add an exception associated with a rule id but cannot find the whitelist file people describe on other posts.
I have tried all the usual search methods.
Can anyone assist?
--
My Issue: WHMCS Submit Support Ticket produces 500 error.
$ tail -f /var/log/httpd/ssl_error_log
[Tue Jul 23 18:20:20 2013] [error] [client x.x.x.x] ModSecurity: Access denied with code 44 (phase 2). Match of "eq 0" against "MULTIPART_UNMATCHED_BOUNDARY" required. [file "/etc/httpd/conf.d/mod_security.conf"] [line "39"] [id "200003"] [msg "Multipart parser detected a possible unmatched boundary."] [hostname "www.domain.com"] [uri "/supporttickets.php"] [unique_id "Ue7JZE1KwwUAABVnInUAAAAF"]
Solution???:
Ad an exception associated with this id.
Edit "/etc/apache2/modsecurity/conf/whitelist.conf" and add:
<LocationMatch "/supporttickets.php">
SecRuleRemoveById 200003
</LocationMatch>
Problem: I cannot locate whitelist.conf or anything like it.
My OS - CentOS 6.4
Thanks!
I need to add an exception associated with a rule id but cannot find the whitelist file people describe on other posts.
I have tried all the usual search methods.
Can anyone assist?
--
My Issue: WHMCS Submit Support Ticket produces 500 error.
$ tail -f /var/log/httpd/ssl_error_log
[Tue Jul 23 18:20:20 2013] [error] [client x.x.x.x] ModSecurity: Access denied with code 44 (phase 2). Match of "eq 0" against "MULTIPART_UNMATCHED_BOUNDARY" required. [file "/etc/httpd/conf.d/mod_security.conf"] [line "39"] [id "200003"] [msg "Multipart parser detected a possible unmatched boundary."] [hostname "www.domain.com"] [uri "/supporttickets.php"] [unique_id "Ue7JZE1KwwUAABVnInUAAAAF"]
Solution???:
Ad an exception associated with this id.
Edit "/etc/apache2/modsecurity/conf/whitelist.conf" and add:
<LocationMatch "/supporttickets.php">
SecRuleRemoveById 200003
</LocationMatch>
Problem: I cannot locate whitelist.conf or anything like it.
My OS - CentOS 6.4
Thanks!