![]() |
I need some .htaccess help please
I am currectly using this to protect movies in my members area from hotlinking and bookmarking
Code:
<SCRIPT LANGUAGE="javascript">document.cookie = "id=valid; path=/"</SCRIPT> RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*YOURSITE.com/ [NC] RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*cyberavs.com/ [NC] RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$) RewriteRule /* http://%{HTTP_HOST}/ [R,L] My problem is now I want to be able to use those same movies in another members area on another domain. Doing this with images is easy but I have no idea how to make it work for movies. Anybody know what I need to add to my .htaccess to make this work Thanks |
Hey Dennis,
You need to load that cookie from the same domain the movies are on for this to work. Your choices are.. 1. send the visitor to your site first so they can pick up the cookie 2. have the remote site load a frame or iframe with a page from your site with the cookie on it 3. Use http://antihotlinking.com 's application for this.. it's $$ but much more elegant |
Thanks newjersey... that http://antihotlinking.com/ looks like a sweet deal :thumbsup
|
All times are GMT -7. The time now is 03:30 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123