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 10-07-2006, 07:14 AM   #1
leroytrolley
XXX Video Editor
 
Industry Role:
Join Date: Dec 2005
Location: Kent, UK
Posts: 2,301
Blocking URL's.

Hi.

Is there a web site that makes code for you to block incoming traffic from certain url's?

Leroy
__________________
XXX Video Editor
leroytrolley is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2006, 08:28 AM   #2
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Google:

.htaccess block url
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2006, 08:30 AM   #3
Violetta
Affiliate
 
Violetta's Avatar
 
Join Date: Jul 2004
Posts: 28,735
don't you just love those google answers!
__________________
M&A Queen
Violetta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2006, 08:47 AM   #4
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Quote:
Originally Posted by Rockatansky
don't you just love those google answers!
There's something about the "give a man a fish, he smells for a day. teach a man to fish, he smells fishy for a lifetime" phrase that makes me reply with the "google" answers.
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2006, 08:50 AM   #5
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
One way might be to edit an .htaccess file in your webroot's directory and paste in the following:

Code:
<Limit GET HEAD POST>
order allow,deny
deny from http://www.test.com
allow from all
</LIMIT>
http://www.htmlbasix.com/blockusers.shtml
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2006, 09:06 AM   #6
Lazonby
Confirmed User
 
Join Date: Feb 2006
Posts: 2,262
Quote:
Originally Posted by leroytrolley
Hi.

Is there a web site that makes code for you to block incoming traffic from certain url's?

Leroy
Looking at your sig, you'd be better off to have your sites on international TLDs, rather than on .co.uks.
Lazonby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2006, 09:20 AM   #7
Dirty Dane
Sick Fuck
 
Dirty Dane's Avatar
 
Industry Role:
Join Date: Feb 2004
Location: www
Posts: 9,491
You can also bounce them
Dirty Dane is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2006, 09:32 AM   #8
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Quote:
Originally Posted by Dirty Dane
You can also bounce them
Nice call, on that - A little javascript or server side script to check the HTTP_REFERER and bounce them to an affiliate program of your choice. - You smarty... I dig that much more than a hard block. Thanks.
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2006, 10:02 AM   #9
bizarredollars
Confirmed User
 
Join Date: Mar 2006
Location: bizarredollars.com
Posts: 1,582
Let me know what you need, and I will write an htaccess file for you - alan [at] bizarredollars.com -- if you already have an .htaccess file in place, I will need to see it to make sure it does not fuck anything else up.
__________________

[email protected]
icq: 205-252-550
bizarredollars is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2006, 10:03 AM   #10
bizarredollars
Confirmed User
 
Join Date: Mar 2006
Location: bizarredollars.com
Posts: 1,582
Quote:
Originally Posted by Lazonby
Looking at your sig, you'd be better off to have your sites on international TLDs, rather than on .co.uks.
.co.uk's have their uses..
__________________

[email protected]
icq: 205-252-550
bizarredollars is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2006, 11:09 AM   #11
vantage
Confirmed User
 
Join Date: Jun 2005
Location: BERLIN :: GERMANY
Posts: 214
Quote:
Originally Posted by psili
One way might be to edit an .htaccess file in your webroot's directory and paste in the following:

Code:
<Limit GET HEAD POST>
order allow,deny
deny from http://www.test.com
allow from all
</LIMIT>
http://www.htmlbasix.com/blockusers.shtml
FALSE!
"deny from 1.2.3.4" or "denny from test.com" blocks all user with IP 1.2.3.4. or on the host test.com, not with the referer http://www.test.com


Of he like to block the referer http://bad_page.com.. then ModRewrite
__________________
vantage is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2006, 11:38 AM   #12
RobbieRye
Registered User
 
Join Date: Oct 2005
Location: The Middle of Nowhere
Posts: 616
Sure there are

The best one (.htaccess) is stated above. Also, iptables will do it.

But, things like this are why hosting support exists. Write a ticket and they should help you out and teach you how to do it.
RobbieRye is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2006, 11:42 AM   #13
vantage
Confirmed User
 
Join Date: Jun 2005
Location: BERLIN :: GERMANY
Posts: 214
Block by referer:

Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} (badhost1\.com) [NC,OR]
RewriteCond %{HTTP_REFERER} (badhost2\.com) [NC,OR]
RewriteCond %{HTTP_REFERER} (badhost3\.com) [NC]
RewriteRule .* - [F]
__________________
vantage 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.