![]() |
![]() |
![]() |
||||
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 |
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
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... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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:
I'll try it tonight and see what I can break ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |