| Help With .htaccess and rewrite_mod Rewrite Mod and .htaccess |
jwsmith

msg:1497973 | 8:51 am on Jan 27, 2002 (gmt 0) | I currently have a web site that has .MPG's in one directory called ./ls, ./hs, and ./real. I want to make it where the user can download the file, but if i have the following, AuthUserFile /dev/null AuthGroupFile /dev/null 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...
|
DaveAtIFG

msg:1497974 | 6:05 pm on Jan 30, 2002 (gmt 0) | We're pleased you decided to join us jwsmith, welcome! Since I'm not sure about the answer to your question, I ignored it for a few days hoping someone would jump in with a solution, no luck though :( 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.
|
|
|