View Single Post
Old 01-12-2005, 08:30 AM  
Dennis69
Confirmed User
 
Join Date: Feb 2003
Location: Dreamland
Posts: 1,685
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>
RewriteEngine on
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
Dennis69 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote