atom feed11 messages in ru.sysoev.nginxwhat's the simplest way to serve php ...
FromSent OnAttachments
Ilan BerknerOct 2, 2010 4:05 pm 
António P. P. AlmeidaOct 2, 2010 4:23 pm 
Ilan BerknerOct 2, 2010 5:23 pm 
Edho P AriefOct 2, 2010 6:03 pm 
António P. P. AlmeidaOct 2, 2010 6:28 pm 
Ilan BerknerOct 2, 2010 9:30 pm 
Ilan BerknerOct 2, 2010 9:32 pm 
António P. P. AlmeidaOct 2, 2010 9:36 pm 
Ilan BerknerOct 2, 2010 9:38 pm 
Edho P AriefOct 2, 2010 9:40 pm 
Ilan BerknerOct 2, 2010 9:49 pm 
Subject:what's the simplest way to serve php files through an alias?
From:Ilan Berkner (iber@gmail.com)
Date:Oct 2, 2010 4:05:18 pm
List:ru.sysoev.nginx

we have a very simple configuration.

server block with location block

php is served through fastcgi and works fine

would like to add something like this:

location /nameofalias/ { alias /usr/local/nameofalias; }

but it does not seem to work, static files load fine.

the php location block is like this and works fine for the main location block of "location /"

location ~ .php$ { include fcgi; fastcgi_pass 127.0.0.1:9000; }

what else is needed?