![]() |
![]() |
![]() |
||||
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 |
My hips don't lie
Industry Role:
Join Date: Nov 2002
Posts: 10,129
|
![]() Anyone knows how to do that..? want to replace the hotlinked images by an image of my choice...
Time to make some money out of the thief running Fusker.com ... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Registered User
Join Date: May 2003
Location: Orange County, CA
Posts: 72
|
The instructions for doing this can be found here:
http://altlab.com/htaccess_tutorial.html I've set up the following image to display properly if it's accessed from www.gofuckyourself.com and from my site but it will display a different image for those fuskers... ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
By the wrath of Agamemnon
Industry Role:
Join Date: Apr 2004
Location: Miami
Posts: 6,501
|
Very nice reply jchennav
![]() ![]()
__________________
. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
My hips don't lie
Industry Role:
Join Date: Nov 2002
Posts: 10,129
|
thanks
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: May 2004
Location: Mom's basement
Posts: 4,754
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
My hips don't lie
Industry Role:
Join Date: Nov 2002
Posts: 10,129
|
ok this code is working well..
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?xxxxxxxx.com/.*$ [NC] RewriteRule \.(gif|jpg)$ http://www.xxxxxxxx.com/images/nohotlink.jpg [R,L] but instead of blocking all domains that hotlink. except mine.. I would like to be able to block only specific ones... otherwise, it seems like it may block some legitimate traffic such as users behind proxies or privacy firewalls.. Anyone knows how to modify the code above and include a command to block certain domains..? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
My hips don't lie
Industry Role:
Join Date: Nov 2002
Posts: 10,129
|
bump
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
I am a meat popsicle.
Join Date: Jul 2002
Posts: 25,100
|
Quote:
__________________
HIGHEST PAYOUTS FOR NO-CONSOLE TOURS IN THE ENTIRE INDUSTRY! THIS SIG CAN BE YOURS FOR $200 - ICQ: 78881543 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Mar 2003
Location: Toronto, Ontario
Posts: 4,402
|
Quote:
![]() ![]() ![]()
__________________
![]() Paul |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: May 2004
Location: Mom's basement
Posts: 4,754
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Registered User
Industry Role:
Join Date: Jan 2001
Location: Your moms box
Posts: 26,727
|
hmmm they make a thing called google...ever hear of it?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
C.R.E.A.M
Industry Role:
Join Date: Apr 2003
Posts: 15,262
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
My hips don't lie
Industry Role:
Join Date: Nov 2002
Posts: 10,129
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Jun 2004
Posts: 2,049
|
Well, you could try changing this:
RewriteCond %haha123;HTTP_REFERER} !^http://(www\.)?xxxxxxxx.com/.*$ [NC] to this: RewriteCond %haha123;HTTP_REFERER} ^http://(www\.)?domaintoredirect.com/.*$ [NC] the "!" stands for NOT, so in the original, it's basically saying if the http_referrer is NOT a url beginning with http://, and maybe also the www., followed by a number of characters which contain xxxxxxxx.com/, plus any other characters to the end of the url, (non case sensitive), then proceed to rewriterule. So removing the "!" would remove the NOT, and change the condition from checking if the url is NOT your domain (and redirecting if it isnt), to checking if the url IS from the offending domain (and redirecting if it is).. Test rewriting with care though, always. |
![]() |
![]() ![]() ![]() ![]() ![]() |