server.modules += ( "mod_rewrite", ) $HTTP["url"] =~ "^/(?!(dist|app|ajax)).*" { url.rewrite-once = ( "^/[^\?]*(\?.*)?" => "/index.php$1" ) }