ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stub status on = No input file specified


  • To: nginx-ru@xxxxxxxxx
  • Subject: stub status on = No input file specified
  • From: "GTAlex" <nginx-forum@xxxxxxxx>
  • Date: Sun, 06 Feb 2011 22:50:38 -0500
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=fQVareS9rLyV5ytQQYW3iFwBiHiL5DDum5PJx2uP0BI=; b=AjT033HsG9pRs7IglVt/V1WgAkkMnOQALwSQJMLRnasoQbVIiE4gXXJXqAW/St6vr1AMNjYWUxybOXO7cXjaAI/cVh/2RA9ES0bsIJmZtUJoX3ZK/UxzdSynxCx6hsKt;

добавил в конфиг location /nginx_status { stub_status on;
access_log off; }
рестартанул - ошибок нет, всё ок
дёргаю http://.../nginx_status 
получаю [b]No input file specified.[/b] 

в чём трабла ? я так понимаю это уже php-cgi
отвечает ?

[code]
    server {
        listen 80;    
        server_name site.ru *.site.ru;

        charset utf-8;
        
        access_log  /.../nginx.access.log  main;
        error_log  /.../nginx.error.log;        
        
        set $subdomain "";
        if ($host ~* ^([a-z0-9-\.]+)\.site.ru$) {
            set $subdomain /$1;
        }
        
        if ($host ~* ^www.site.ru$) {
            set $subdomain "";
        }
        
        root   /var/vhosts/gtalex.ru/httpdocs/$subdomain;                       
        
        fastcgi_index  index.php;       
        fastcgi_intercept_errors on;    
        index  index.php index.html index.htm;

        location /nginx-status {
            stub_status on;
            access_log off;
        }
                
        location ~ \.php$ { 
            fastcgi_pass   unix:/tmp/php-fcgi.sock;     
            include        /usr/local/etc/fastcgi_params;               
            fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;

        }               
        
        location ~ /\.ht {
            deny  all;
            break;
        }       

        if (!-e $request_filename) {
            rewrite ^(.+)$  /index.php   last;
        }
    }
[/code]

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,172769,172769#msg-172769


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.