7 messages in ru.sysoev.nginxRe: if $request_uri [not static file]...
FromSent OnAttachments
Joe AstonNov 7, 2008 5:21 pm 
cynixNov 7, 2008 10:38 pm 
Joe AstonNov 8, 2008 4:02 am 
RoxisNov 8, 2008 4:38 am 
Joe AstonNov 8, 2008 5:30 am 
Fernando PerezNov 11, 2008 2:35 am 
Joe AstonNov 11, 2008 3:59 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: if $request_uri [not static file], then ...Actions...
From:Roxis (rox@list.ru)
Date:Nov 8, 2008 4:38:24 am
List:ru.sysoev.nginx

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 { ... }