![]() |
How do I ban a IP like block it from my web site?
Sorry about the lamer question but can someone give me the htacess code please !!!!!! :warning
|
RewriteCond %{REMOTE_ADDR} ^127.0.0.1$
|
otherwise
deny from 127.0.0.** |
Bannedfosho.dll
|
that shit doesn't work
|
http://www.htaccesstools.com
RewriteEngine on RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?200.200.200.200.*$ [NC] RewriteRule .* - [F,L] (200.200.200.200 is of course the IP) |
DO you have cpanel on your site?
|
Quote:
|
The traffic from the ip is still coming in!
|
:helpme HELP :helpme
|
hosts.deny
|
Quote:
|
Quick answer:
order allow,deny deny from 123.45.6.7 allow from all just put that in .htacess and change the IP, of course. Here's a ton of htaccess info: http://www.gofuckyourself.com/showthread.php?t=413223 Please bump the thread if you gt anything out of it. |
If you have cpanel on the server, the option is rite on it.
|
All times are GMT -7. The time now is 05:04 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123