我需要一些帮助。
I am using a Zend Framework based application so most of my requests are to be treated by /index.php and so far everything is good.
然而,我有一些次申请,不得不在没有这种转头的情况下工作。
例如,我需要在继承/签字中提出所有要求,以导致该名录-索引档案。
"/events/" => "/events/index.php",
"/events/?foo=bar" => "/events/index.php?foo=bar",
"/events/create/" => "/events/create/index.php"
等等
我迄今所做的事情
url.rewrite-if-not-file = (
"^/events/(.*)/$" => "/events/$1/index.php"
)
但是,在掌握全球教育变化变量并将其定位为正确时,我就失去了。
我曾尝试过
"^/events/(.*)??(.*)$" => "/events/$1/index.php?$2"
但是,这并不奏效。
Thankful for any help.