|
@@ -6229,10 +6229,12 @@ SetEnvIfNoCase Referer ~*zzlgxh\.com spam_ref
|
|
|
# NOW ACTIVATE OUR ACCESS CONTROLS USING NEW APACHE 2.4 SYNTAX
|
|
|
# Remember to de-activate the module access_compat by running sudo a2dismod access_compat
|
|
|
|
|
|
-<RequireAny>
|
|
|
+#<RequireAny>
|
|
|
<RequireAll>
|
|
|
|
|
|
Require all granted
|
|
|
+ Require not env bad_bot
|
|
|
+ Require not env spam_ref
|
|
|
|
|
|
# *************************
|
|
|
# Wordpress Theme Detectors
|
|
@@ -6296,12 +6298,10 @@ Require not ip 54.242.250.203
|
|
|
|
|
|
Include "/etc/apache2/custom.d/blacklist-ips.conf"
|
|
|
|
|
|
- Require not env bad_bot
|
|
|
- Require not env spam_ref
|
|
|
|
|
|
#</RequireAll>
|
|
|
|
|
|
- #<RequireAny>
|
|
|
+ <RequireAny>
|
|
|
|
|
|
Require env good_ref
|
|
|
Require env good_bot
|
|
@@ -6413,9 +6413,9 @@ Require ip 2a06:98c0::/29
|
|
|
Require ip 2c0f:f248::/32
|
|
|
# END CLOUDFLARE IP RANGES ### DO NOT EDIT THIS LINE AT ALL ###
|
|
|
|
|
|
- </RequireAll>
|
|
|
+ </RequireAny>
|
|
|
|
|
|
-</RequireAny>
|
|
|
+</RequireAll>
|
|
|
|
|
|
# Re-Test
|
|
|
# End of Blacklist --- rest of your server config will continue after this block if you followed my instructions properly.
|