Hey, Mod_Rewrite is the bane of my existance so I'm hoping someone else can help me out. Here's what I've got in Apache .htaccess (its quite a simple rule): <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] </IfModule> Code (markup): I need to "rewrite" this (ohohoho) to a lighttpd ModRewrite rule. Here's what I've tried: url.rewrite = ("^/$" => "app/webroot/", "^/(.*)" => "app/webroot/$1") Code (markup): Which doesn't work. Any help?
Not quite, but there ARE a lot more Apache users out there. Have you tried /app/webroot/$1 ? (Leading slash) I assume there's a good reason why you don't just change the DocumentRoot to /app/webroot...