Details
-
Type:
Docs: Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Zend_Controller_Router
-
Labels:None
-
Language:English
Description
In the Programmer's Reference Guide (http://zendframework.com/manual/1.10/en/zend.controller.router.html) the lighttpd rewrite rule there is:
<code>
url.rewrite-once = (
".?(.)$" => "/index.php?$1",
".*\.(js|ico|gif|jpg|png|css|html)$" => "$0",
"" => "/index.php"
)
</code>
Since 1.4.24, lighttpd adds a new configuration option that we can use to more closely emulate the Apache .htaccess behavior:
<code>
url.rewrite-if-not-file = (
"/(.*)$" => "/index.php?$1",
)
</code>