htaccess for swf file
- by Charles Wayne
Does htaccess works with swf file that accepts variables?
I have this swf url...
http://subdom.domain.tld/subfolder/live.swf?stream=rtmp://stream.domain.com/application&provider=rtmp&file=streamname&autostart=true
I want it to be rewrite as
http://subdom.domain.tld/subfolder/assignedname/
So far this is what I written on .htaccess file
RewriteEngine On
RewriteRule ^kwt/?$ live.swf?stream=rtmp://stream.domain.com/application&provider=rtmp&file=streamname&autostart=true [NC,L]
It does seem to rewrite to the swf file because the swf is showing but for some reason the variable is not recognized. It does not auto play even the auto play variable is set to true in the RewriteRule.
Is there something wrong with my code or it can't be done in swf file?