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-26-2004, 09:38 AM   #1
fusionx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
htaccess ???

My hotlink and redirect stuff is working fine.

But, I'm seeing another fusker in my logs, and would LOVE to have a line in the .htaccess that returns a specific image IF a referring domain contains one of the following keywords:

fusker, ripper

BTW - the newest site to be trying to hit me is ripper.webrats.com

I want to return goatse or tubgrl when they request pics.

Anyone have that specific line of code?

Maybe I'll make seperate entries and watermark the image "******* brought to you by ripper.webrats.com!", etc..

I don't care about the bandwidth this costs me.

TIA


Last edited by fusionx; 10-26-2004 at 09:41 AM..
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-26-2004, 09:47 AM   #2
WebHead
Registered User
 
Join Date: Oct 2004
Location: Miami, Florida
Posts: 29
Here's a nice little tutorial to help you out:
http://www.javascriptkit.com/howto/htaccess7.shtml

Hope that helps
__________________
WebHead
http://terminus.ath.cx
Professional Graphic Design Web Development
WebHead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-26-2004, 09:50 AM   #3
fusionx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
Thanks WebHead

That has the redirect part, but not the part that determines the specific referrer. I don't want to blast everyone with goatse - just a few specific assholes

ok - bad choice of words there...
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-26-2004, 10:01 AM   #4
WebHead
Registered User
 
Join Date: Oct 2004
Location: Miami, Florida
Posts: 29

Oh ok, so you just need basically an "If, then Else" statement added to do that. drudged around and found this easy to follow tutorial for you to explain how to accomplish just that. Will be a bit of reading, but they have great examples and you will get the idea. It will basically tell the .htaccess file that is XXX hits XXX then send it to XXX, otherwise everyone else goes to XXX, etc.

http://www.vnwr.com/resources/tutorials/htaccess.html

Hope that is more of what you are looking for.
__________________
WebHead
http://terminus.ath.cx
Professional Graphic Design Web Development
WebHead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-26-2004, 11:44 AM   #5
fusionx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
I think you made my day

It looks like I can use something like:

PHP Code:
RewriteCond %{HTTP_REFERER} ^http://ripper.webrats.com/.*$ [NC]
ReWriteRule .*\.(jpg|gif)$ http://www.mydomain.com/hotlink/goatse4ripper.jpg    [F] 
and it shouldn't redirect any other referrers to the specified image.

I'll try it tonight and see what I can break

Last edited by fusionx; 10-26-2004 at 11:46 AM..
fusionx 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.