Forum Moderators: phranque
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com [NC]
RewriteRule /* [mydomain.com...] [R,L]
It will let the file go to the Windows Media Player. But Windows Media Player won't beable to read it. I want the users to be able to access the files and not have people hot link, I tried a cookie, but it didn't work correctly.
Please Help...
I think your question involves both mod_rewrite issues and MIME/file type issues. Is it possible your server is not configured to serve a windows media file? This page [bignosebird.com] describes how to add a "MIME type" to the server's configuration which may solve your problem.