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 Mark Forums Read
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 06-03-2003, 04:12 PM   #1
chupacabra
Confirmed User
 
Join Date: Sep 2002
Posts: 3,626
Block referring domain via .htaccess..?

someone remind me real quick, what is the syntax within .htaccess utilizing Mod_Rewrite for blocking any particular referring domain? also, should the lines be placed inside all .htaccess files on a domain (i.e. on the exterior/public area of a site, and within the members area)..?
chupacabra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2003, 04:26 PM   #2
cash69
So Fucking Banned
 
Join Date: Oct 2002
Location: chandler, az
Posts: 1,052
order deny,allow
allow from all
deny from domain.com

ErrorDocument 403 http://www.stupidfucker.com/
cash69 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2003, 01:40 PM   #3
Martin
"Assassins"
 
Martin's Avatar
 
Industry Role:
Join Date: Dec 2001
Location: At home
Posts: 17,277
Could sombody post the whole thing? I need to block few domains that are running up my BW bill..
__________________
Martin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2003, 01:40 PM   #4
ProTech
Registered User
 
Join Date: Mar 2003
Posts: 73
err ... that is the whole thing.
__________________
http://protechhosting.com

ProTech The gfy name formally known as JFPDude.
ProTech is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2003, 01:43 PM   #5
Martin
"Assassins"
 
Martin's Avatar
 
Industry Role:
Join Date: Dec 2001
Location: At home
Posts: 17,277
Just like that eh..
__________________
Martin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2003, 01:44 PM   #6
loverboy
When it rains, it pours
 
Industry Role:
Join Date: May 2003
Posts: 20,609
Quote:
Originally posted by Martin
Just like that eh..
yup.
loverboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2003, 01:44 PM   #7
Martin
"Assassins"
 
Martin's Avatar
 
Industry Role:
Join Date: Dec 2001
Location: At home
Posts: 17,277
Quote:
Originally posted by loverboy


yup.
nice
__________________
Martin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2003, 02:09 PM   #9
salsbury
Confirmed User
 
Join Date: Feb 2002
Location: Seattle
Posts: 1,070
i do not think that will do what you want it to do.

go here:

http://httpd.apache.org/docs/misc/rewriteguide.html

scroll down to "referer based deflector"
__________________
salsbury is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2003, 02:12 PM   #10
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
I think you have it right, however I believe the 'earls should be spaced and not newlined.
__________________
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
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



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.