ПРОЕКТЫ 


  АРХИВ 


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: nginx-0.7.8



On Tue, Aug 05, 2008 at 10:07:05AM +0400, Igor Sysoev wrote:

> On Tue, Aug 05, 2008 at 12:39:46PM +0700, Denis F. Latypoff wrote:
> 
> > Hello Igor,
> > 
> > Monday, August 4, 2008, 10:49:11 PM, you wrote:
> > 
> > > Изменения в nginx 0.7.8                                           
> > > 04.08.2008
> > 
> > >     *) Добавление: модуль ngx_http_xslt_module.
> > 
> > Огромадное спасибо!!!
> > 
> > 2008/08/05 12:22:45 [emerg] 1240#0: "xml_entities" directive is not
> > allowed here in nginx.conf:76 
> > 2008/08/05 12:22:58 [emerg] 1240#0: "xslt_stylesheet" directive is
> > not allowed here in nginx.conf:112 
> > 
> > в доке сказано:
> > 
> > context: http, server, location
> > 
> > 2008/08/05 12:22:45 [emerg] 1240#0: "xml_entities" directive is not
> > allowed here in nginx.conf:76 
> > 2008/08/05 12:22:58 [emerg] 1240#0: "xslt_stylesheet" directive is
> > not allowed here in nginx.conf:112 
> > 
> > патч в аттаче.
> > 
> > 
> > еще в доке опечатка:
> > 
> > -Если в результате преобразования выдаётся HTML-ответ, nо его MIME-тип 
> > меняется на "text/html".
> > +Если в результате преобразования выдаётся HTML-ответ, то его MIME-тип 
> > меняется на "text/html".
> 
> Спасибо. NGX_HTTP_LIF_CONF я убрал.

Логика подсказывает, что xslt_stylesheet нужно разрешать только в location.


-- 
Игорь Сысоев
http://sysoev.ru



 




Copyright © Lexa Software, 1996-2009.