GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Why doesn't this work...htaccess (https://gfy.com/showthread.php?t=75025)

Ass Man 09-02-2002 05:59 PM

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]

eru 09-02-2002 06:18 PM

Because you fucked up. format c: and it will work... I think.

Vox 09-02-2002 06:45 PM

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.

PhilipX 09-02-2002 07:44 PM

The images you are using may be of big size and your server does not support them. Change the host.


All times are GMT -7. The time now is 01:05 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123