On Saturday 08 November 2008, Joe Aston wrote: > Sorry, I did not make myself clear. I already have a fastcgi handler > section. > > I think the problem is with the regular expression in " if > ($request_uri !~* (js|css|images|etc)$) ": location / { rewrite ^/(.+)$ /index.php?q=$1 last; } location ~ (js|css|images|etc)$ { ... } location ~ \.php { ... }