Welcome! Log In Create A New Profile

Advanced

Re: Strange rewrite behaviour

Francis Daly
March 14, 2011 02:10PM
On Mon, Mar 14, 2011 at 07:19:04PM +0200, Alexander Economou wrote:

Hi there,

> Thank you for your quick reply again Francis.

You're welcome.

> fastcgi_pass 127.0.0.1:9000;

Do you have the fastcgi server running on this address? Does that server
generate any logs to report if it exits?

> ---------------------------------------------------------------------------
> location / {
> try_files $uri $uri/ /index.php?$uri&$args;
> }
> ---------------------------------------------------------------------------
>
> but still php-cgi does not respond to any .php and after some minutes i
> get 402 gateway error.

You restart or reload nginx, then you access a particular url, and you
do not get the response you expect? The best I can suggest is "check
the logs".

If the problem is with the fastcgi server exiting, then you'll need to
investigate that. But so far, I fail to reproduce your problem.

Good luck with it,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Strange rewrite behaviour

aecon March 14, 2011 11:42AM

Re: Strange rewrite behaviour

Francis Daly March 14, 2011 12:52PM

Re: Strange rewrite behaviour

aecon March 14, 2011 01:22PM

Re: Strange rewrite behaviour

Francis Daly March 14, 2011 02:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 182
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready