ðòïåëôù 


  áòèé÷ 


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: nginx + drupal



úÁÐÕÔÁÌÉ. ôÏÇÄÁ ÐÏÌÕÞÁÅÔÓÑ ×ÏÔ ÔÁËÏÊ ËÏÎÆÉÇ?

location / {
try_filesššššš $uriš $uri/š @drupal;
ššš }

location ~ \.php$ {
ššš try_filesššššš $uriš @drupal;
ššš fastcgi_passšš 127.0.0.1:1026;

ššš fastcgi_param SCRIPT_FILENAMEšš /home/www/public_html$fastcgi_script_name;
ššš fastcgi_paramš QUERY_STRINGšššš $query_string;
ššš fastcgi_paramš REQUEST_METHODšš $request_method;
ššš fastcgi_paramš CONTENT_TYPEšššš $content_type;
ššš fastcgi_paramš CONTENT_LENGTHšš $content_length;
ššššššš }
location @drupal {
ššš fastcgi_passšš 127.0.0.1:1026;
ššš fastcgi_param SCRIPT_FILENAMEšš /home/www/public_html$fastcgi_script_name;
ššš fastcgi_paramš QUERY_STRINGšššš q=$request_uri;
ššš fastcgi_paramš REQUEST_METHODšš $request_method;
ššš fastcgi_paramš CONTENT_TYPEšššš $content_type;
ššš fastcgi_paramš CONTENT_LENGTHšš $content_length;
ššš }
ššššššš }

äÁÅÔ ÜÔÏ No input file specified.
*ÇÌÁÚÁ × ËÕÞËÕ.


 




Copyright © Lexa Software, 1996-2009.