![]() |
![]() |
![]() |
||||
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: Sep 2003
Posts: 191
|
htaccess?
I want to allow hotlinking for some domains but block hotlinking for all others for .flv files...anyone know how to do this? antihotlinking.com does not seem to work
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
No commissions, no fees.
Industry Role:
Join Date: Apr 2003
Location: USA
Posts: 17,706
|
First you need to make sure apache (if you're on a linux server) was configured with RewriteEngine on. If it is, then do a search on google for RewriteEngine and you'll get tons of info on how to stop hotlinking.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Nov 2006
Location: ...
Posts: 1,214
|
try this one -> http://www.javascriptkit.com/howto/htaccess10.shtml
__________________
Web Developer |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,409
|
Depends on are you going to have a white list or a black list?
In any case, here is mine: Code:
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?rhinosthumbs.com(/)?.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?rhinoslinks.com(/)?.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?americastgp.com(/)?.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?gofuckyourself.com(/)?.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(.+)?yahoo.(.+)(/)?.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(.+)?google.(.+)(/)?.*$ [NC] RewriteRule .*\.(flv)$ - [F,NC] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Sep 2003
Posts: 191
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: May 2006
Location: brazil
Posts: 781
|
Quote:
this line: Code:
RewriteCond %{HTTP_REFERER} !^$
__________________
hai2u |
|
![]() |
![]() ![]() ![]() ![]() ![]() |