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)
-   -   Block referring domain via .htaccess..? (https://gfy.com/showthread.php?t=139637)

chupacabra 06-03-2003 04:12 PM

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

cash69 06-03-2003 04:26 PM

order deny,allow
allow from all
deny from domain.com

ErrorDocument 403 http://www.stupidfucker.com/

Martin 06-04-2003 01:40 PM

Could sombody post the whole thing? I need to block few domains that are running up my BW bill..

ProTech 06-04-2003 01:40 PM

err ... that is the whole thing.

Martin 06-04-2003 01:43 PM

Just like that eh..

loverboy 06-04-2003 01:44 PM

Quote:

Originally posted by Martin
Just like that eh..
yup.

Martin 06-04-2003 01:44 PM

Quote:

Originally posted by loverboy


yup.

nice

Martin 06-04-2003 02:03 PM

How does this look?


order deny,allow
allow from all
deny from
http://www.sexocean.com/
http://www.sex4free.co.il/
http://www.freefoto.cz/
http://kads.dyndns.org/
http://www.sexocean.com
http://sexocean.com/
http://www.sexyzeny.cz/
http://www.noblindlink.com/
http://bozy1004.net/
http://60pictures.com/
http://www.001x.com/
http://www.pornoarchiv.cz/
http://www.gratis6.dk/
http://www.bmbc.de/
http://www.fode-me.com/
http://www.p0rno.org/
http://www.justvirgin.com/
http://young-erotic.com/
http://sex4free.co.il/
http://80pictures.com/
http://www.sexoagresivo.com/
http://www.warpsex.cz/
http://www.sex-links.dk/
http://www.pussyslot.com/
http://big5.001x.com/
http://www.frisind.dk/
http://www.xxx3x.com/main.html
http://www.black6girls.com/
http://www.pembesayfa.com/
http://www.hotpost.us/
http://www.monstre-de-sexe.com/
http://www.5isex.com/
http://www.renvil.com/
http://www.lolitasgratis.com.ar/
http://www.fode-me.com/
ErrorDocument 403 http://www.stupidfucker.com/

salsbury 06-04-2003 02:09 PM

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"

psili 06-04-2003 02:12 PM

I think you have it right, however I believe the 'earls should be spaced and not newlined.


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

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