![]() |
![]() |
![]() |
||||
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
Join Date: Dec 2002
Location: Im here, and there
Posts: 1,637
|
Htaccess question, help me out hehe
I know there is an htaccess code to redirect hotlinkers to the url of your choice, Ive been reading tutorials on them, and (call me dumb) I cant get the f'ing thing to work.
Please anyone who knows this code please let me know... I just need the following If users are requesting from goodurl.com/subdirectory then do shit if they are requesting from anywhere else redirect them to here lol thanks AC |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jan 2005
Posts: 1,668
|
I am also intrested for this,ent help is welcome
__________________
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
See sig. Join Epic Cash.
Join Date: Oct 2002
Location: Montreal, Quebec. ICQ: 214702014
Posts: 22,366
|
Something like this would work:
RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com(/)?.*$ [NC] RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.yourdomain.com/hotlink.jpg [R,NC] Basically, if any domain other than yours attempts to display an image, it'll be replaced with hotlink.jpg (which can be a ******* pic, for example).
__________________
![]() Bad Girl Bucks - 50% Revshare through CCBill. Promote BrandyDDD, Pixie's Pillows, Action Allie and more! Phoenix Forum Pics | Webmaster Access Montreal pics email: psyko514(a)gmail.com | icq: 214-702-014 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2005
Posts: 1,668
|
That is so qick
Thanx psyko514
__________________
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Dec 2002
Location: Im here, and there
Posts: 1,637
|
Quote:
need it to redirect the persons page to page.html not jsut change the image ;) AC |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Dec 2002
Location: Im here, and there
Posts: 1,637
|
bump it up
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Too lazy to set a custom title
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
|
REMEMBER !!!!!!!!!!!!!!!!!!!!!!!!!!
When you are uploading an .htaccess file, it must be done in Ascii mode. ;) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
The Profiler
Industry Role:
Join Date: Oct 2002
Location: ICQ 76281726 and I'm female
Posts: 14,618
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Dec 2004
Location: Vancouver
Posts: 4,325
|
Quote:
RewriteCond %{HTTP_REFERER} !^http://32.332.332.32.*$ [NC] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
See sig. Join Epic Cash.
Join Date: Oct 2002
Location: Montreal, Quebec. ICQ: 214702014
Posts: 22,366
|
Quote:
I'm not sure that's possible.
__________________
![]() Bad Girl Bucks - 50% Revshare through CCBill. Promote BrandyDDD, Pixie's Pillows, Action Allie and more! Phoenix Forum Pics | Webmaster Access Montreal pics email: psyko514(a)gmail.com | icq: 214-702-014 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Mar 2002
Location: Trailer Park
Posts: 660
|
You cant have hotlinkers redirected to a web page. They are requesting an image, they must get an image back or the web browser will not know how to interperet it, and give back a broken image link.
What we used to do on our freehost is replace the image with a "Hotlinking disabled" image with a nasty assed image that people dont want to look at.
__________________
Xamo Entertainment Xamo.com | EZSets.com ![]() ICQ: 9439118 MSN: mikeb [at] xamo.com Tollfree: 800-544-XAMO XXX CMS - Designed by Adult Webmasters, for Adult Webmasters. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Dec 2004
Location: Vancouver
Posts: 4,325
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Too lazy to set a custom title
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
|
replace the hotlinked image with a 3 mil by 3 mil pixels /ok may be a bit smaller ;)/ WHITE jpg or gif. The image's size is tiny and it'll cost you next to nothing in bandwith but it'll slow the hotlinking fucker's page to a crawl ;)
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Dec 2004
Posts: 330
|
google it
__________________
[email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |