Hi
Modsecurity is blocking the OpenX ad management system from displaying ads on one of my accounts.
I need help identifying what modsecurity rule to exclude.
From /etc/httpd/logs/error_log
I know I can add a file /usr/local/apache/conf/userdata/std/2/domain/domain.com/whitelist.conf
With this in it.
But I don't know what the corresponding modsecurity ID has been triggered, so where I have ???????? question marks I need an ID.
Does anyone know how to find this information if the error_log file doesn't specify it.
Thanks
Aaron
Modsecurity is blocking the OpenX ad management system from displaying ads on one of my accounts.
I need help identifying what modsecurity rule to exclude.
From /etc/httpd/logs/error_log
Code:
[Tue Jan 18 13:24:50 2011] [error] [client 211.30.165.234] ModSecurity: Access d
enied with code 500 (phase 2). Pattern match "\\.php\\?.*loc=(http|https|ftp)\\:
\\/" at REQUEST_URI. [file "/usr/local/apache/conf/modsec2.user.conf"] [line "30
2"] [hostname "domain.com"] [uri "/ads/www/delivery/spc.php"] [unique_id "T
TUIAkg03YoAACviTToAAAAV"]
With this in it.
Code:
<LocationMatch "/ads/www/delivery/spc.php">
SecRuleRemoveById ?????????
</LocationMatch>
Does anyone know how to find this information if the error_log file doesn't specify it.
Thanks
Aaron