Switching to nginx: php and rewrite rules from apache

Luciano Mannucci luciano at vespaperitivo.it
Tue Jun 10 13:38:49 UTC 2014


On Sat, 7 Jun 2014 11:39:55 +0100
Francis Daly <francis at daoine.org> wrote:

> 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.
Works! :-) :)

I had to add few other things (it was looking for index.html instead
of .php) and now it seems fine.

Maaaany thanks,

Luciano.
-- 
 /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
 \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
  X   AGAINST HTML MAIL    /  E-MAIL: posthamster at sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/



More information about the nginx mailing list