我想重写一个像
localhost/public/5/issue?readerVersion=2.0
至
localhost/public/interface/getissuefile/projectID/5/readerVersion/2.0
我试过这个:
RewriteCond %{REQUEST_FILENAME} -l
RewriteRule ^\/(.*)\/issue?readerVersion=(.*)$ \/interface\/getissuefile\/projectID/$1/readerVersion/$2 [R=301]
但这不起作用。Zend 向我抛出这个错误:
指定的控制器无效 (5)
我该如何解决?