modsecurity and phpmyadmin

cDGo

Verified User
Joined
Sep 21, 2012
Messages
131
Is there a way to prevent modsecurity from breaking my phpmyadmin usage?
I've got a few rules to prevent some queries from being blocked, but I'm not getting closer to run a new specific query.
I would like to fully ignore modsecurity from intercepting the usage of phpmyadmin for my (fixed) IP address.
 
Code:
SecRule REQUEST_URI "@beginsWith /phpMyAdmin/" \
    "id:100001, \
    phase:1, \
    pass, \
    nolog, \
    chain"
    SecRule REMOTE_ADDR "@ipMatch 192.168.1.50" \
        "ctl:ruleEngine=Off"

please ensure "id" not same with other rules,

nginx can validate config rules via : nginx -t
 
Back
Top