
June 21st, 2005, 03:18 AM
|
|
|
|
Join Date: Apr 2007
Location: Melbourne, Australia
Posts: 163
Time spent in forums: 43 sec
Reputation Power: 4
|
|
|
htaccess leech protection
i'm hosting a friends website, and she's got loads of image/icons that i don't want people leeching.
i want links from my domain, and links from her livejournal only to be allowed, but anything else should be denied, so what should i put in my htaccess?
i've tried
php Code:
Original
- php Code |
|
|
|
RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(wysteria.)?ttam.org [NC,OR] RewriteCond %{HTTP_REFERER} !^http://(www.)?livejournal.com/users/herusername/ [NC] RewriteRule [^/]+.(gif|jpg|jpeg|bmp)$ http://ttam.org/wysteria/stolen.JPG [NC,R,L]
but it didn't work, it's giving me an internal server error :S
please help!
- matt.
|