GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How do I ban a IP like block it from my web site? (https://gfy.com/showthread.php?t=417078)

Best-In-BC 01-15-2005 12:15 PM

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

skillfull 01-15-2005 12:18 PM

RewriteCond %{REMOTE_ADDR} ^127.0.0.1$

skillfull 01-15-2005 12:19 PM

otherwise
deny from 127.0.0.**

DEA - banned for life 01-15-2005 12:19 PM

Bannedfosho.dll

Best-In-BC 01-15-2005 12:29 PM

that shit doesn't work

DaLord 01-15-2005 12:30 PM

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)

David! 01-15-2005 12:34 PM

DO you have cpanel on your site?

David! 01-15-2005 12:35 PM

Quote:

Originally Posted by DaLord
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)

Very nice and useful link :thumbsup

Best-In-BC 01-15-2005 12:37 PM

The traffic from the ip is still coming in!

Best-In-BC 01-15-2005 12:46 PM

:helpme HELP :helpme

MickeyG 01-15-2005 12:47 PM

hosts.deny

David! 01-15-2005 12:48 PM

Quote:

Originally Posted by Best-In-BC
:helpme HELP :helpme

Do you have cpanel?

fusionx 01-15-2005 12:58 PM

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.

xlogger 01-15-2005 12:59 PM

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