View Single Post
Old 03-19-2010, 11:04 AM  
Sands
Confirmed User
 
Sands's Avatar
 
Join Date: Feb 2007
Location: 418194907
Posts: 3,134
Quote:
Originally Posted by closer View Post
Try this code

Code:
RewriteEngine on

RewriteCond %{HTTP_REFERER} !^http://([-a-z0-9]+\.)?yourdomain\.com [NC]
RewriteRule \.(wmv|flv|mp4|mov)$ - [F,NC,L]
Flash video players don't send referer information, or something to that effect. I remember reading endless topics about this subject and mod_rewrite had been deemed useless. Stuff like rtmp streaming, server-side scripts, and special apache mods were touted as solutions.

Last edited by Sands; 03-19-2010 at 11:06 AM..
Sands is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote