
Exclude an IP adress
-
-
Blocking them in the ACP will prevent them from accessing anything, but they still see the site and in return yield an user session. It is highly recommended to block them using the webserver, which will also prevent the request from hitting PHP at all.
You should search for apache block ip range or apache block ip to find proper instructions, there are countless of examples out there
-
thanks
this is my htaccess , it is in the public_html
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
Order Deny,Allow
Deny from 213.251.182.103
Deny from 144.217.72.140
Deny from 46.229.168.129
Deny from 46.229.168.130
Deny from 46.229.168.131
Deny from 46.229.168.132
Deny from 46.229.168.133
Deny from 46.229.168.134
Deny from 46.229.168.135
Deny from 46.229.168.136
Deny from 46.229.168.137
Deny from 46.229.168.138
Deny from 46.229.168.139
Deny from 46.229.168.140
Deny from 46.229.168.141
Deny from 46.229.168.142
Deny from 46.229.168.143
Deny from 46.229.168.144
Deny from 46.229.168.145
Deny from 46.229.168.146
Deny from 46.229.168.147
Deny from 46.229.168.148
Deny from 46.229.168.149
Deny from 46.229.168.150
Deny from 46.229.168.151
Deny from 46.229.168.152
Deny from 46.229.168.153
Allow from all
and i see the try to connect in guest
-
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
order allow,deny
deny from 46.229.168.
deny from 213.251.182.103
allow from all
this work for me
-
just another question
it is possible to reset the record of users in line ? because this night , i have 1024 ...
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!