|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
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 |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Google:
.htaccess block url
__________________
Your post count means nothing. |
|
|
|
|
|
#3 |
|
Affiliate
Join Date: Jul 2004
Posts: 28,735
|
don't you just love those google answers!
__________________
M&A Queen |
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Quote:
__________________
Your post count means nothing. |
|
|
|
|
|
|
#5 |
|
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>
__________________
Your post count means nothing. |
|
|
|
|
|
#6 | |
|
Confirmed User
Join Date: Feb 2006
Posts: 2,262
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Sick Fuck
Industry Role:
Join Date: Feb 2004
Location: www
Posts: 9,491
|
You can also bounce them
|
|
|
|
|
|
#8 | |
|
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Quote:
__________________
Your post count means nothing. |
|
|
|
|
|
|
#9 |
|
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.
|
|
|
|
|
|
#10 | |
|
Confirmed User
Join Date: Mar 2006
Location: bizarredollars.com
Posts: 1,582
|
Quote:
|
|
|
|
|
|
|
#11 | |
|
Confirmed User
Join Date: Jun 2005
Location: BERLIN :: GERMANY
Posts: 214
|
Quote:
"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
__________________
|
|
|
|
|
|
|
#12 |
|
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. |
|
|
|
|
|
#13 |
|
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]
__________________
|
|
|
|