Welcome! Log In Create A New Profile

Advanced

Re: rewrite и location (apach => nginx)

April 09, 2011 07:18AM
On Sat, Apr 09, 2011 at 06:00:24AM -0400, cul8er wrote:
> Не срабатывает. nginx 0.8.5.4

Разумеется. Потому что я написал

location = / {
fastcgi_pass ...
fastcgi_param SCRIPT_FILENAME /home/sayt/www/scripts/index.php;
include fastcgi_params;
}

а не то, что ниже.

> Вот конфиг весь:
>
> root /home/sayt/www;
> index index.php index.html;
>
> location =/ {
> fastcgi_pass 127.0.0.1:9000;
> fastcgi_param SCRIPT_FILENAME
> $document_root/scripts/$fastcgi_script_name;
> include fastcgi_params;
> }


--
Igor Sysoev
http://sysoev.ru/en/

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

rewrite и location (apach => nginx)

cul8er April 07, 2011 04:08AM

Re: rewrite и location (apach => nginx)

cul8er April 09, 2011 04:22AM

Re: rewrite и location (apach => nginx)

Igor Sysoev April 09, 2011 04:44AM

Re: rewrite и location (apach => nginx)

cul8er April 09, 2011 06:00AM

Re: rewrite и location (apach => nginx)

Igor Sysoev April 09, 2011 07:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 264
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