20 Nov 12:37
Re: include file абсолютный путь
Alex Vorona wrote: > 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" >> >> include virtual тоже не помогло. > > <!--# include virtual="/__footer.html" --> > так не работает? То что нужно!! Спасибо большое! -- -- Best Wishes, PAIX-UANIC | SK3929-RIPE
RSS Feed