ПРОЕКТЫ 


  АРХИВ 


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: location и его root


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: location и его root
  • From: Roxis <roxis@xxxxxxx>
  • Date: Wed, 28 May 2008 15:12:35 +0200
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:references:in-reply-to:x-face:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; bh=I0M7/e3UVO/x173oko9VjXM/YXNlJ6TB4hJEFD2PpbQ=; b=pVqu7zJpAXfyIRSN6J3pF6JmAhCr4yCmt9Pvo267ekexWOZw5LoHVgTWVrZJvYlZQbjFUtq4C3vSjZt0foTtc5ymWC9vegE5+RByLxNJXwnG0ik5MW0mwodYheuF1wf6JF2c2/75PIBew2sPwyvUs4e9EhTa+C2amT7RWTteYBQ=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:references:in-reply-to:x-face:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=Ouj/A21VTUmBbcZo/p4h845VlkBPEAvREYA4KuOC33CniGdB6r3nVP2zMasqL3vC1zVOye6GH6RYxy9B8MmjlnWjRYfCzSqasfi6XT6wEYUa7EjiR5bRmTtE3d0HuBwSE/lUcSkRDA0ToVe121g5cEY0kaRs5pM1edKvmM3Hfrk=
  • In-reply-to: <91c9771b0805280603l5cb57636u98b85e7aa0cb9f45@xxxxxxxxxxxxxx>
  • References: <91c9771b0805280603l5cb57636u98b85e7aa0cb9f45@xxxxxxxxxxxxxx>

On Wednesday 28 May 2008, Борис Долгов wrote:
> Добрый вечер!
> Возможно ли для разных location указатоь абсолютные root-папки?
> То есть, запрашивая /d/file.txt и указывая для location /d { root
> /var/www/files ; } получать не /var/www/files/d/file.txt а
> /var/www/files/file.txt?
> Заранее спасибо.

alias /var/www/files;


 




Copyright © Lexa Software, 1996-2009.