No input file specified

Alexander Moskalenko alexander.moskalenko на gmail.com
Пн Авг 29 14:44:00 UTC 2011


если это Zend приложение то:

 location /se/ {
    root /var/www/project/public;

    fastcgi_index               index.php;
    fastcgi_param               APPLICATION_ENV  developer;
    fastcgi_param               SCRIPT_FILENAME  $document_root/index.php;
    fastcgi_param               SCRIPT_NAME      /index.php;
    fastcgi_param               QUERY_STRING     $args;
    include                     fastcgi_params;

       client_max_body_size       10m;
       client_body_buffer_size    128k;

       fastcgi_connect_timeout 90;
       fastcgi_send_timeout 180;
       fastcgi_read_timeout 180;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - не много ?

       fastcgi_buffer_size 1024K;
       fastcgi_buffers 8 512k;
       fastcgi_busy_buffers_size 1024k;
       fastcgi_temp_file_write_size 1024k;
       fastcgi_intercept_errors on;
       fastcgi_pass_header *;

   }


2011/8/29 vital_kuzmich <nginx-forum at nginx.us>

> Добрый день.
>
> nginx должен обрабатывать только запросы
> к папке /se/ и отдавать статику. Все
> остальное обрабатывает Apache.
> Статика отдается нормально, но в ответ
> на обращение к папке /se/ получаю "No input file
> specified."
>
> фрагмент конфига:
>
> ...
>
>    location ~* ^/se/(.+)?$
>    {
>        fastcgi_pass 127.0.0.1:9900;
>        fastcgi_param  SCRIPT_FILENAME
> /var/www/project/public/index.php/$1;
>        fastcgi_param APPLICATION_ENV developer;
>        include fastcgi_params;
>        client_max_body_size       10m;
>        client_body_buffer_size    128k;
>
>        fastcgi_connect_timeout 90;
>        fastcgi_send_timeout 180;
>        fastcgi_read_timeout 180;
>        fastcgi_buffer_size 1024K;
>        fastcgi_buffers 8 512k;
>        fastcgi_busy_buffers_size 1024k;
>        fastcgi_temp_file_write_size 1024k;
>        fastcgi_intercept_errors on;
>        fastcgi_pass_header *;
>
>    }
>
>    location /
>    {
>        proxy_pass http://127.0.0.1:8080/;
>        proxy_set_header Host $host;
>        proxy_set_header X-Real-IP $remote_addr;
>        proxy_set_header X-Forwarded-For $remote_addr;
>
>        proxy_connect_timeout 120;
>        proxy_send_timeout    120;
>        proxy_read_timeout    180;
>    }
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?21,214438,214438#msg-214438
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20110829/7715ebc3/attachment-0001.html>


Подробная информация о списке рассылки nginx-ru