modsecurity create rule disable GET request
问题 I want to create a mod security2x rule that will block the GET request to a specific URL. for example I want to block the URL with the GET in the header: 'www.test.com' I've never made a rule within modsecurity, and not sure this will work with anomaly detection mode. This would be an example of the GET request: GET/secure/bla/test/etc/ This is what I have so far: SecRule ARGS "www.test.com" phase:2,log,deny,id:'1234',msg:'403 Access Denied' 回答1: You want something like this: SecRule REQUEST