As I understand it
due to the way FREE x10hosting's load balancer is setup....
assume IP 000.000.000.000 is bad guy
.htaccess file with this
Will NOT block the bad guys IPCode:<Files *> order deny,allow deny from 000.000.000.000 </Files>
my server that this .htaccess file is on
only sees the IP of the server that feeds it
Using PHP I can see - but AFTER the bad guy is inside
These hold the bad guys IP
$_SERVER[HTTP_X_FORWARDED_FOR]
$_SERVER[HTTP_X_REAL_IP]
$_SERVER[REMOTE_ADDR]
This holds the IP of the server that feeds our server
which is the IP that is tested in .htaccess
$_SERVER[SERVER_ADDR]
So how can I block the bad guys ????
Thanks


LinkBack URL
About LinkBacks


