.htaccess swf文件的htaccess

.htaccess swf文件的htaccess,.htaccess,mod-rewrite,.htaccess,Mod Rewrite,htaccess是否与接受变量的swf文件一起工作 我有这个swf url http://subdom.domain.tld/subfolder/live.swf?stream=rtmp://stream.domain.com/application&provider=rtmp&file=streamname&autostart=true 我想把它改写成 http://subdom.domain.tld/subfolder/assignedname/ 到目前为止,这是我在.htaccess文件上

htaccess是否与接受变量的swf文件一起工作

我有这个swf url

http://subdom.domain.tld/subfolder/live.swf?stream=rtmp://stream.domain.com/application&provider=rtmp&file=streamname&autostart=true

我想把它改写成
http://subdom.domain.tld/subfolder/assignedname/

到目前为止,这是我在.htaccess文件上写的

RewriteEngine On

RewriteRule ^kwt/?$ live.swf?stream=rtmp://stream.domain.com/application&provider=rtmp&file=streamname&autostart=true [NC,L]
它似乎确实重写到swf文件,因为swf正在显示,但由于某些原因,变量无法识别。即使“重写规则”中的“自动播放”变量设置为true,它也不会自动播放


我的代码是否有问题,或者无法在swf文件中执行?

您不能执行此操作,因为Flash player会查看查询字符串中变量的“显示”URL,而重写的“干净”URL没有这些变量。

没问题。如果你认为这个答案是合适的,如果你愿意,点击左边的复选标记就可以接受它。欢迎来到堆栈溢出!