Is their any way to block to many connections from an IP address within a time period that's showing up in the Apache error_log (File does not exist: /usr/local/apache/htdocs) I'm not good with regex.
This is my error log
[Sun Oct 06 07:36:56.632592 2019] [:error] [pid 3602:tid 139621425915648] [client 122.142.17.11:36416] File does not exist: /usr/local/apache/htdocs/App.php
[Sun Oct 06 07:36:57.509985 2019] [:error] [pid 4554:tid 139621576984320] [client 122.142.17.11:36420] File does not exist: /usr/local/apache/htdocs/help.php
[Sun Oct 06 07:36:57.809609 2019] [:error] [pid 4554:tid 139621560198912] [client 122.142.17.11:36422] File does not exist: /usr/local/apache/htdocs/java.php
[Sun Oct 06 07:36:58.111087 2019] [:error] [pid 4554:tid 139621543413504] [client 122.142.17.11:36424] File does not exist: /usr/local/apache/htdocs/_query.php
[Sun Oct 06 07:36:58.410163 2019] [:error] [pid 3596:tid 139621425915648] [client 122.142.17.11:36426] File does not exist: /usr/local/apache/htdocs/test.php
[Sun Oct 06 07:36:58.709469 2019] [:error] [pid 3596:tid 139621417522944] [client 122.142.17.11:36428] File does not exist: /usr/local/apache/htdocs/db_cts.php
[Sun Oct 06 07:36:59.009707 2019] [:error] [pid 4554:tid 139621526628096] [client 122.142.17.11:36430] File does not exist: /usr/local/apache/htdocs/db_pma.php
[Sun Oct 06 07:36:59.312079 2019] [:error] [pid 4554:tid 139621509842688] [client 122.142.17.11:36432] File does not exist: /usr/local/apache/htdocs/logon.php
[Sun Oct 06 07:36:59.612451 2019] [:error] [pid 4554:tid 139621501449984] [client 122.142.17.11:36434] File does not exist: /usr/local/apache/htdocs/help-e.php
[Sun Oct 06 07:36:59.911648 2019] [:error] [pid 3602:tid 139621417522944] [client 122.142.17.11:36436] File does not exist: /usr/local/apache/htdocs/license.php
[Sun Oct 06 07:37:00.211742 2019] [:error] [pid 3602:tid 139621683037952] [client 122.142.17.11:36438] File does not exist: /usr/local/apache/htdocs/log.php
[Sun Oct 06 07:37:00.514989 2019] [:error] [pid 3602:tid 139621593769728] [client 122.142.17.11:36440] File does not exist: /usr/local/apache/htdocs/hell.php
[Sun Oct 06 07:37:00.814325 2019] [:error] [pid 3599:tid 139621543413504] [client 122.142.17.11:36442] File does not exist: /usr/local/apache/htdocs/pmd_online.php
[Sun Oct 06 07:37:01.113070 2019] [:error] [pid 3602:tid 139621585377024] [client 122.142.17.11:36444] File does not exist: /usr/local/apache/htdocs/x.php
[Sun Oct 06 07:37:01.412334 2019] [:error] [pid 3602:tid 139621568591616] [client 122.142.17.11:36446] File does not exist: /usr/local/apache/htdocs/shell.php
[Sun Oct 06 07:37:01.713560 2019] [:error] [pid 3599:tid 139621526628096] [client 122.142.17.11:36448] File does not exist: /usr/local/apache/htdocs/htdocs.php
[Sun Oct 06 07:37:02.014127 2019] [:error] [pid 4554:tid 139621484664576] [client 122.142.17.11:36450] File does not exist: /usr/local/apache/htdocs/b.php
[Sun Oct 06 07:37:02.313126 2019] [:error] [pid 3602:tid 139621560198912] [client 122.142.17.11:36452] File does not exist: /usr/local/apache/htdocs/sane.php
[Sun Oct 06 07:37:02.613279 2019] [:error] [pid 3602:tid 139621551806208] [client 122.142.17.11:36454] File does not exist: /usr/local/apache/htdocs/desktop.ini.php
[Sun Oct 06 07:37:02.912684 2019] [:error] [pid 3596:tid 139621409130240] [client 122.142.17.11:36456] File does not exist: /usr/local/apache/htdocs/z.php
[Sun Oct 06 07:37:03.211887 2019] [:error] [pid 3602:tid 139621543413504] [client 122.142.17.11:36458] File does not exist: /usr/local/apache/htdocs/lala.php
[Sun Oct 06 07:37:03.511976 2019] [:error] [pid 3602:tid 139621535020800] [client 122.142.17.11:36460] File does not exist: /usr/local/apache/htdocs/lala-dpr.php
[Sun Oct 06 07:37:03.811024 2019] [:error] [pid 3602:tid 139621526628096] [client 122.142.17.11:36462] File does not exist: /usr/local/apache/htdocs/wpc.php
[Sun Oct 06 07:37:04.109799 2019] [:error] [pid 3599:tid 139621509842688] [client 122.142.17.11:36464] File does not exist: /usr/local/apache/htdocs/wpo.php
[Sun Oct 06 07:37:04.411055 2019] [:error] [pid 3602:tid 139621509842688] [client 122.142.17.11:36466] File does not exist: /usr/local/apache/htdocs/t6nv.php
[Sun Oct 06 07:37:04.713770 2019] [:error] [pid 3602:tid 139621493057280] [client 122.142.17.11:36468] File does not exist: /usr/local/apache/htdocs/muhstik.php
[Sun Oct 06 07:37:05.012648 2019] [:error] [pid 3602:tid 139621484664576] [client 122.142.17.11:36470] File does not exist: /usr/local/apache/htdocs/text.php