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 Mark Forums Read
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-14-2003, 03:15 AM   #1
jovigirl
Confirmed User
 
jovigirl's Avatar
 
Join Date: Apr 2003
Location: On the edge
Posts: 1,796
I need some easy htaccess lines please

Hi
I need to redirect traffic coming from certain domains like fusker.com, both clicked traffic and hotlinking images.
Any help appreciated - I couldnt get it to work properly.


Thanks bros
__________________
ICQ :333-548-380
jovigirl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2003, 03:18 AM   #2
RedBumper
Confirmed User
 
Join Date: Sep 2003
Location: Icq: 216037845
Posts: 1,137
http://www.htmlbasix.com/disablehotlinking.shtml

I use that htaccess code generator and it works fine
RedBumper is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2003, 03:38 AM   #3
jovigirl
Confirmed User
 
jovigirl's Avatar
 
Join Date: Apr 2003
Location: On the edge
Posts: 1,796
Yes I know that but it doesnt fit my needs now
I dont want to specify urls to allow to hotlink
but urls to DISallow to hotlink
And also I need to redirect clicked traffic when a surfer clicks a link on certain domains
__________________
ICQ :333-548-380
jovigirl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2003, 03:51 AM   #4
AWS Venus
Confirmed User
 
Join Date: Sep 2003
Posts: 178
For the image hotlink, use this:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ - [F]

To redirect the traffic:

RewriteEngine On
RewriteCond %{HTTP_REFERER} http://www.fusker.com/ [OR]
RewriteCond %{HTTP_REFERER} http://www.hotlink.com/
RewriteRule /* http://www.yourdomain.com/fuckinghotlinker.html [R,L]

Add as many line as you want for HTTP_REFERER.
AWS Venus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-14-2003, 04:15 AM   #5
jovigirl
Confirmed User
 
jovigirl's Avatar
 
Join Date: Apr 2003
Location: On the edge
Posts: 1,796
Thanks Venus
__________________
ICQ :333-548-380
jovigirl 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
Thread Tools



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.