Welcome! Log In Create A New Profile

Advanced

Re: Re: nginx+fascgi alias не работает

Denis F. Latypoff
July 01, 2010 08:36AM
01.07.10, 16:28, "shuha" <nginx-forum@nginx.us>:

> Александр,
>
> в конфиге всего 4 алиаса:
>
> server {
> listen 80;
> server_name localhost;
> access_log /var/log/httpd/localhost.bytes bytes;
> access_log /var/log/httpd/localhost.log combined;
> error_log /var/log/httpd/localhost.error.log warn;
> location /nginx_status {
> stub_status on;
> access_log off;
> stub_status on;
> access_log off;

Я, для пущей уверенности, добавил бы еще три раза:

+ stub_status on;
+ access_log off;
+ stub_status on;
+ access_log off;
+ stub_status on;
+ access_log off;

> allow all;
> }
> location / {
> root /home/public_html;
> index index.html index.htm index.php;
> }
> location ~ \.php$ {
+ root /home/public_html;
> include fastcgi.conf;
> fastcgi_pass 127.0.0.1:11000;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME /home/public_html$fastcgi_script_name;
> }
>
> location /n {
> include fastcgi_params;
> fastcgi_pass 127.0.0.1:11000;
> fastcgi_param SCRIPT_FILENAME
> /var/www/html/test.php;
> }
>
> }
>
> Все три алиаса кроме location /n работают...
> Помогите пожалуйста разобраться

Смотрите в логи php.

--
br, Denis F. Latypoff.

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

nginx+fascgi alias не работает

shuha July 01, 2010 01:21AM

Re: nginx+fascgi alias не работает

Alexey Samoylov July 01, 2010 06:10AM

Re: Re: nginx+fascgi alias не работает

Denis F. Latypoff July 01, 2010 08:36AM

Re: nginx+fascgi alias не работает

shuha July 01, 2010 06:23AM

Re: nginx+fascgi alias не работает

shuha July 01, 2010 06:28AM

Re: nginx+fascgi alias не работает

hg_04 July 01, 2010 06:29AM

Re: nginx+fascgi alias не работает

Igor Sysoev July 01, 2010 06:46AM

Re: nginx+fascgi alias не работает

shuha July 01, 2010 06:48AM

Re: nginx+fascgi alias не работает

shuha July 01, 2010 06:56AM

Re: nginx+fascgi alias не работает

Igor Sysoev July 01, 2010 07:32AM

Re: nginx+fascgi alias не работает

shuha July 01, 2010 07:38AM

Re: nginx+fascgi alias не работает

Igor Sysoev July 01, 2010 07:46AM

Re: nginx+fascgi alias не работает

shuha July 01, 2010 07:55AM

Re: nginx+fascgi alias не работает

Alexander Petrovsky July 01, 2010 08:18AM

Re: nginx+fascgi alias не работает

shuha July 01, 2010 08:28AM

Re: nginx+fascgi alias не работает

shuha July 01, 2010 08:47AM

Re: nginx+fascgi alias не работает

Alexander Petrovsky July 01, 2010 11:12AM

Re: nginx+fascgi alias не работает

Vladimir V. Perepelitsa July 03, 2010 01:34PM

Re: nginx+fascgi alias не работает

Alexander Petrovsky July 04, 2010 02:14AM

Re: nginx+fascgi alias не работает

Vladimir V. Perepelitsa July 04, 2010 06:38AM

Re: nginx+fascgi alias не работает

Alexander Petrovsky July 04, 2010 07:32AM

Re: nginx+fascgi alias не работает

shuha July 08, 2010 03:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

mrw
Guests: 51
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready