Well major if you have a streaming media site....
Very odd problem with .htaccess on all servers I tested this on concerning .wmv extensions.
First: DO NOT ADD .wmv as a mime type through cPanel and then add as rewrite rule to .htaccess it will crash your server and give 500 internal errors even after it is removed. You need to remove the corrupted line cPanel adds to .htaccess, same result on seven servers running RH9 - RHE 3 so this is a bug for sure.
Seems .wmv doesnt work when added to .htaccess. I know the files are set up correctly cause every other extension behaves as the should whether it be images, media files (mp3 etc), or compressed files (IE rar, exe etc)
First I added the following to .htaccess
AddType video/x-ms-wmv .wmv and that was a disaster, Apache failed and server crashed
So then I tried adding the MIME through cpanel and same result.
Finally I just added it manually to httpd and no crash but wmv files will not play on the allowed domain even if I add the full URL path to the file. I know htaccess well and I know the rewrite rules are setup correctly cause every other extension behaves properly but wmv doesnt.
I read the other posts on this and Googled it to death, basically there is no answer so I thought Id give it another go.
Any ideas why wmv seems to be the only extension that htaccess cannot handle correctly? Could it be because the stream uses the WMP from your PC to stream the file?
This is embedded in the html just to clarify that.



LinkBack URL
About LinkBacks
Reply With Quote




