htaccess for swf file

Posted by Charles Wayne on Stack Overflow See other posts from Stack Overflow or by Charles Wayne
Published on 2012-04-13T11:21:55Z Indexed on 2012/04/13 11:29 UTC
Read the original article Hit count: 257

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about mod-rewrite