.htaccess conflict with IE and streaming video .htaccess conflict with IE and streaming video
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

.htaccess conflict with IE and streaming video

Started by marz, October 07, 2004, 06:35:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

marz

I'm using the following .htaccess file in my albums directory to stop direct linking:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.digitaldaredevil.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.digitaldaredevil.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://digitaldaredevil.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://digitaldaredevil.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://launch.digitaldaredevil.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://launch.digitaldaredevil.com$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|mov|wmv.*.*jpg|jpeg|gif|png|bmp|mov|wmv)$ http://www.digitaldaredevil.com [R,NC]


The one problem I have with activating the htaccess file is that windows IE clients get a broken movie error when they try to stream a video.
Firefox on Windows works fine with the htaccess file active so it's an IE specific thing.
I the only thing I can think of is that IE does some redirection when streaming that is not covered by the whitelist in my htaccess file because with the htaccess file active, still images are viewed properly.
I know the problem is the htaccess file because when I inactivate it IE works fine with streaming video again.
Any insight would be much appreciated.