ZF-10139: Better lighttpd rewrite rule (lighttpd >= 1.4.24)

Description

In the Programmer's Reference Guide (http://zendframework.com/manual/1.10/…) the lighttpd rewrite rule there is:

url.rewrite-once = ( ".\?(.)$" => "/index.php?$1", ".*.(js|ico|gif|jpg|png|css|html)$" => "$0", "" => "/index.php" )

Since 1.4.24, lighttpd adds a new configuration option that we can use to more closely emulate the Apache .htaccess behavior:

url.rewrite-if-not-file = ( "/(.*)$" => "/index.php?$1", )

Comments

No comments to display