Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-15-2005, 12:15 PM   #1
Best-In-BC
Confirmed User
 
Best-In-BC's Avatar
 
Join Date: Jun 2002
Posts: 9,506
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 !!!!!!
__________________
Vacares - Web Hosting, Domains, O365, Security & More
Unparked domains burning a hole in your pocket? 5 Simple Ways to Make Easy $$$ from Unused Domains
Best-In-BC is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:18 PM   #2
skillfull
Confirmed User
 
skillfull's Avatar
 
Industry Role:
Join Date: Apr 2003
Location: Quebec Calisse
Posts: 4,716
RewriteCond %{REMOTE_ADDR} ^127.0.0.1$
__________________
mind at underdark dot cc
SEO Analyst
Thunder-Ball.net - Member
skillfull is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:19 PM   #3
skillfull
Confirmed User
 
skillfull's Avatar
 
Industry Role:
Join Date: Apr 2003
Location: Quebec Calisse
Posts: 4,716
otherwise
deny from 127.0.0.**
__________________
mind at underdark dot cc
SEO Analyst
Thunder-Ball.net - Member
skillfull is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:19 PM   #4
DEA - banned for life
V.I.P.
 
Join Date: Nov 2004
Location: InYour Head
Posts: 7,886
Bannedfosho.dll
DEA - banned for life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:29 PM   #5
Best-In-BC
Confirmed User
 
Best-In-BC's Avatar
 
Join Date: Jun 2002
Posts: 9,506
that shit doesn't work
__________________
Vacares - Web Hosting, Domains, O365, Security & More
Unparked domains burning a hole in your pocket? 5 Simple Ways to Make Easy $$$ from Unused Domains
Best-In-BC is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:30 PM   #6
DaLord
Confirmed User
 
Join Date: Aug 2001
Location: Denmark
Posts: 3,318
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)

Last edited by DaLord; 01-15-2005 at 12:32 PM..
DaLord is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:34 PM   #7
David!
By the wrath of Agamemnon
 
David!'s Avatar
 
Industry Role:
Join Date: Apr 2004
Location: Miami
Posts: 6,501
DO you have cpanel on your site?
__________________
.
David! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:35 PM   #8
David!
By the wrath of Agamemnon
 
David!'s Avatar
 
Industry Role:
Join Date: Apr 2004
Location: Miami
Posts: 6,501
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
__________________
.
David! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:37 PM   #9
Best-In-BC
Confirmed User
 
Best-In-BC's Avatar
 
Join Date: Jun 2002
Posts: 9,506
The traffic from the ip is still coming in!
__________________
Vacares - Web Hosting, Domains, O365, Security & More
Unparked domains burning a hole in your pocket? 5 Simple Ways to Make Easy $$$ from Unused Domains
Best-In-BC is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:46 PM   #10
Best-In-BC
Confirmed User
 
Best-In-BC's Avatar
 
Join Date: Jun 2002
Posts: 9,506
HELP
__________________
Vacares - Web Hosting, Domains, O365, Security & More
Unparked domains burning a hole in your pocket? 5 Simple Ways to Make Easy $$$ from Unused Domains
Best-In-BC is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:47 PM   #11
MickeyG
Confirmed User
 
Join Date: May 2004
Location: South Florida
Posts: 4,134
hosts.deny
MickeyG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:48 PM   #12
David!
By the wrath of Agamemnon
 
David!'s Avatar
 
Industry Role:
Join Date: Apr 2004
Location: Miami
Posts: 6,501
Quote:
Originally Posted by Best-In-BC
HELP
Do you have cpanel?
__________________
.
David! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:58 PM   #13
fusionx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
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.

Last edited by fusionx; 01-15-2005 at 01:00 PM..
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2005, 12:59 PM   #14
xlogger
Confirmed User
 
Join Date: Jul 2004
Location: NY
Posts: 9,507
If you have cpanel on the server, the option is rite on it.
__________________

----------
XLOGGER [REFLECTED] [OH]
xlogger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.