ðòïåëôù 


  áòèé÷ 


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]

Re: No input file specified



ÅÓÌÉ ÜÔÏ 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@xxxxxxxx>
äÏÂÒÙÊ ÄÅÎØ.

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@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru

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


 




Copyright © Lexa Software, 1996-2009.