ПРОЕКТЫ 


  АРХИВ 


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: Разные robots.txt


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Разные robots.txt
  • From: Роман <n.g.i.n.x.e.r@xxxxxxxxx>
  • Date: Mon, 6 Dec 2010 16:45:50 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=796iUtiXrehQBQVUKOiyfr1JD8NO+gu6JeeWDQpJmYg=; b=pEAXy/AiKRX+qb1h6pt1pgUipzPZslWjlBcrppm7B8TGxFP8pupas4pqBkRIj784Ak lYf+Y8k7tIS4i6TIUEsRPMR9IXpi4p0vw6IicVvBx2EqhrhUSauHz0Rg6ogje7Etjud3 fXz3aKrwWe/sO+mDx7V1N7MZ829pJMV0Vgc/U=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=aM50/xIqDSf9ATmFq4RQJ+J6RtNNIcBqTOhPx9DeAOHR0yRweew54s0BdUGmesM9jB QGBCNrNJurcFrR7wBoJ5J/3k3pR+W8VZIu9TLUArqIBm8P2seNJM/uKxRt3AdZuHlNJW N3ouIEy7N+yPg2L/0CO4ktqY5vSehxvsGK0DA=
  • In-reply-to: <20101206130204.GI42828@xxxxxxxxxxxxx>
  • References: <AANLkTim9L+fp=5bHU5k8P_m+Jreq7ggsNaFMAdz0YuVL@xxxxxxxxxxxxxx> <20101206155634.3abecf3b@xxxxxxxx> <20101206130204.GI42828@xxxxxxxxxxxxx>

Спасибо за идею

я пока сделал так

location = /robots.txt {
            alias /home/..../robots.$host.txt;
        }

я думал переменная $document_root будет работать внутри location, а
оказалось the $document_root variable may not be used in the "alias"
directive
чем можно ее заменить?
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.