News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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.