We are using Zend Framework, we switched from apache to lighttpd, main htaccess file for zend is this:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php
What is the lighttpd equivalent of this ? I found one line here,
url.rewrite-once = (".*\.(js|ico|gif|jpg|png|css)$" => "$0", "" => "/index.php")
but it doesn't first two lines of the original (
if file and dir exists then don't
lines)
Thanks,