Hello, is there a easy way to stop all php request to our server’s
we don’t have php but get a lot of errors in our server, from people trying to use php
[Wed Jul 17 17:00:07.092944 2019] [php7:error] [pid 3243:tid 140349766809344] [client 10.0.0.187:56782] script ‘/var/www/html/qunhuang.php’ not found or unable to stat
[Wed Jul 17 17:00:07.350385 2019] [php7:error] [pid 3243:tid 140349766809344] [client 10.0.0.187:56782] script ‘/var/www/html/hannan.php’ not found or unable to stat
[Wed Jul 17 17:00:07.585939 2019] [php7:error] [pid 3243:tid 140349766809344] [client 10.0.0.187:56782] script ‘/var/www/html/confie.php’ not found or unable to stat
So for one dns we would like to block all *.php requests
block all for
api.test.com/*.php
Can we do this with page rule ? or is there other ways ?
Thanks