Re: Switching to nginx: php and rewrite rules from apache

2014-06-10 Thread Luciano Mannucci
On Sat, 7 Jun 2014 11:39:55 +0100 Francis Daly 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 f

Re: Switching to nginx: php and rewrite rules from apache

2014-06-07 Thread Francis Daly
On Sat, Jun 07, 2014 at 12:08:05PM +0200, Luciano Mannucci wrote: > On Sat, 7 Jun 2014 10:08:54 +0100 > Francis Daly 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

Re: Switching to nginx: php and rewrite rules from apache

2014-06-07 Thread Luciano Mannucci
On Sat, 7 Jun 2014 10:08:54 +0100 Francis Daly wrote: > On Sat, Jun 07, 2014 at 10:50:05AM +0200, Luciano Mannucci wrote: > > Hi there, > > What did I have wrong? > > You left out some useful information: > > * what request do you make? new.assirm.it/en/ > * what response do you get? The inde

Re: Switching to nginx: php and rewrite rules from apache

2014-06-07 Thread Francis Daly
On Sat, Jun 07, 2014 at 10:50:05AM +0200, Luciano Mannucci wrote: Hi there, > I have one site in php developped by the customer that seemed > ok till I discovered that it has a subdirectory with its own .htacess > file. Trying to add the rewriting rules makes the php "dead", only in > the cited s

Switching to nginx: php and rewrite rules from apache

2014-06-07 Thread Luciano Mannucci
Hello list, I'm moving a bunch of sites from Apache to nginx 1.5.13 :). Everything went fine for the static ones and for the sites under wp or joomla. I have one site in php developped by the customer that seemed ok till I discovered that it has a subdirectory with its own .htacess file. Trying