![]() |
![]() |
![]() |
||||
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: Jan 2002
Location: Ass City
Posts: 121
|
Why doesn't this work...htaccess
The bad image never shows when i try to hotlink.
ErrorDocument 401 /errors/401.html ErrorDocument 403 /errors/403.html ErrorDocument 404 /errors/404.html ErrorDocument 500 /errors/500.html RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://site.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.site.com/.*$ [NC] RewriteRule .*\.(gif|GIF|jpg|JPG)$ http://site.com/bad.gif [R]
__________________
So many asses so little time. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Mar 2002
Location: Hawai'i
Posts: 2,612
|
Because you fucked up. format c: and it will work... I think.
__________________
<font color="#FFFFFF" size="2" face="Verdana">This thread will self-destruct in 5 seconds.</font><font color="#FFFFFF" face="Verdana"><br> <br> <font size="1">In the meantime, consider hosting with <a href="http://www.choopa.com"><font color="#00FF00">Choopa</font></a> -- The only provider with 9 x 1000mbps Transit Redundancy</font></font> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Mar 2002
Location: Montreal
Posts: 2,710
|
Try this, works for me.
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?site.com/.*$ [NC] RewriteRule \.(gif|jpg)$ http://www.site.com/fuckoff.jpg [R,L] Make sure you don't put your hotlink image in a directory that is protected, or it won't work.
__________________
Social profile assassination for hire |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Aug 2002
Posts: 200
|
The images you are using may be of big size and your server does not support them. Change the host.
|
![]() |
![]() ![]() ![]() ![]() ![]() |