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)
-   -   Blocking URL's. (https://gfy.com/showthread.php?t=663573)

leroytrolley 10-07-2006 07:14 AM

Blocking URL's.
 
Hi.

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

Leroy

psili 10-07-2006 08:28 AM

Google:

.htaccess block url

Violetta 10-07-2006 08:30 AM

don't you just love those google answers! :)

psili 10-07-2006 08:47 AM

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. :)

psili 10-07-2006 08:50 AM

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

Lazonby 10-07-2006 09:06 AM

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.

Dirty Dane 10-07-2006 09:20 AM

You can also bounce them :)

psili 10-07-2006 09:32 AM

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.

bizarredollars 10-07-2006 10:02 AM

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.

bizarredollars 10-07-2006 10:03 AM

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..

vantage 10-07-2006 11:09 AM

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

RobbieRye 10-07-2006 11:38 AM

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.

vantage 10-07-2006 11:42 AM

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]



All times are GMT -7. The time now is 04:19 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123