I am using mod_rewrite with lighttpd, and I am having an issue...
Here is my rule:
url.rewrite-once = (".*\.(js|ico|gif|jpg|png|css)$" => "$0", "" => "/index.php")
The apache rule works on apache, and looks like this:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php
It works perfectly, except, when I want to use phpmyadmin, http://www.site.com/phpmyadmin is of course being redirected to where I am telling it to... however, I would really like it to work with real directories and files.
How can I change the rewrite rule in lighttpd to respect things such as /phpmyadmin?
Edit:
Looking over everything and doing some research, I am missing the lighttpd equivilent of these lines:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
How can I add these to the lighttpd rewrite config?