19 Nov 14:20
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 понимало относительные пути? > Спасибо! > >
RSS Feed