On Sat, Jun 07, 2014 at 12:08:05PM +0200, Luciano Mannucci wrote:
> On Sat, 7 Jun 2014 10:08:54 +0100
> Francis Daly <[email protected]> wrote:
Hi there,
> > * what request do you make?
> new.assirm.it/en/
>
> > * what response do you get?
> The index.php page source.
>
> > * what response do you want?
> The php interpreted result.
So, within your
location ^~ /en/ {
add something like
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9004;
}
so that nginx knows to handle this request the way you want it to.
(If you have no other configuration, the nginx default is "serve the
file from the file system".)
f
--
Francis Daly [email protected]
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx