On Mon, Dec 06, 2010 at 04:45:50PM +0300, Роман wrote:
> Спасибо за идею
>
> я пока сделал так
>
> location = /robots.txt {
> alias /home/..../robots.$host.txt;
> }
>
> я думал переменная $document_root будет работать внутри location, а
> оказалось the $document_root variable may not be used in the "alias"
> directive
> чем можно ее заменить?
alias как и раз и определает $document_root (но криво), получается
рекурсивное определение.
--
Игорь Сысоев
http://sysoev.ru
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru