ПРОЕКТЫ 


  АРХИВ 


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[2]: Помогите переписать п равила rewrite из htaccess.



Здравствуйте, zheka79.

Вы писали 12 мая 2010 г., 14:53:14:

>         location @php {
>                 fastcgi_pass unix:/tmp/php-fpm.sock;
>                 fastcgi_index  index.html;
>                 fastcgi_param SCRIPT_FILENAME 
> /data/sites/site.ru/htdocs/index.html;
>                 include        fastcgi_params;
>         }


Заменить /index.html на $fastcgi_script_name , имхо...

-- 
С уважением,
 Dmitry                          mailto:nginx-ru@xxxxxxxxxxxx
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.