Hi,
I am looking for examples of correct regeps for
DenyBody = <regular expression>
If the request body matches the case insensitive regular expression, return a 403 Forbidden.
Example: DenyBody = ^.*%3Cscript.*%3C%2Fscript%3E.*$
The example above is form the manpage, but I suspect it is garbled?
I would like to block requests like these:
40.115.22.29|Sat 20 Feb 2016 22:39:10 +0000|404|1025||GET /phpMyAdmin/scripts/setup.php HTTP/1.1|Accept: */*|Accept-Language: en-us|Accept-Encoding: gzip, deflate|User-Agent: ZmEu|Host: 213.127.123.127|Connection: close
Is this ok:
DenyBody = ^.*phpMyAdmin.scripts.*$
or for instance:
DenyBody = ^.*phpMyAdmin\/scripts.*$
What is seen as the body exactly? Is that everything betwee GET and HTTP in the logging above??