ПРОЕКТЫ 


  АРХИВ 


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: Sergey Shepelev <temotor@xxxxxxxxx>
  • Date: Wed, 28 May 2008 17:03:01 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=7qm/T4wZT/9X/dUDThQC6t+DXc2DIWw4IOixLwe2W3s=; b=Kdf5HJgI6Jik0TE+ophPTBQh6JeDMwOYZDAy0XUNsNRHMi6OeovjijUH4I/lSrhJULfxbQ4+JwguepFNqQEM9hMyY/v4Icdjlfa/4iL831/Z35S6CMkE6KBs8s6wbkSjgr8k9t1SmsfPujiJKfsBzB0bGNGUc9r0phmDEc3vslQ=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=V/JSTCg/WQ/dVv6vu1cKzGa7rRd/2wlZ8LzMd6D+8QHQpArayqg+wzwuxJvxHeHqPhiQgzv3Kq6F1hlyCeV24tBQLh3h+Wllez9NqP7otEWQz+BWTSN3UN+UqvWKqdGzw11H5tvzdyuAMjn1VrFurh/Jw2G6siY7gTOBj/tGGHs=
  • In-reply-to: <91c9771b0805280603l5cb57636u98b85e7aa0cb9f45@xxxxxxxxxxxxxx>
  • References: <91c9771b0805280603l5cb57636u98b85e7aa0cb9f45@xxxxxxxxxxxxxx>

alias /var/www/files;

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



 




Copyright © Lexa Software, 1996-2009.