htaccess Elite

Hire htaccesselite professional

.htaccess tutorial


All times are UTC - 5 hours





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Strange htaccess problem
PostPosted: May 17th, '08, 04:07 

Joined: May 17th, '08, 04:02
Posts: 1
I have a directory with movies protected by the following htaccess file

---
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*mydomain.com/ [NC]
RewriteRule /* http://%{HTTP_HOST}/ [R,L]
---

The idea is that you can't directly access the dir with the movies, you have to come from mydomain.com.

The protection works fine, no problem there.

However, if I try to download a movie using 'save target as', I can't. I get a html file in stead of the avi or mpg.

I have no idea how to fix this. Any ideas? Thanks in advance.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB