ПРОЕКТЫ 


  АРХИВ 


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: include file абсолютный п уть



18.11.2008 17:40, Sergej kandyla wrote:

при обработке конструкции типа
   <!--# include file="../__footer.html" -->

nginx ее интерпритирует как абсолютный путь

008/11/18 15:25:18 [error] 75369#0: *841 unsafe URI "/freebsd/../__footer.html" was detected while sending response to client, client: xxx server: yyy, request: "GET /freebsd/page2.html HTTP/1.1", host: "yyy"


на веб странице при этом пишет
[an error occurred while processing the directive]

include virtual тоже не помогло.

<!--# include virtual="/__footer.html" -->
так не работает?


есть ли способ, чтобы include понимало относительные пути?
Спасибо!






 




Copyright © Lexa Software, 1996-2009.