Re: Perl + XSLT

Andrey Aleksandrov andrey.aleksandrov gmail.com
24 15:13:47 MSD 2011


,   ,     Content-Type
:
)  Perl
  $r->send_http_header( "text/xml; charset=UTF-8" );
)  nginx.conf
  xslt_types 'text/xml; charset=UTF-8'


24  2011. 15:03  Denis F. Latypoff
<latypoff  yandex.ru> :
> 24.05.2011, 17:58, "Andrey Aleksandrov" <andrey.aleksandrov  gmail.com>:
>> ,       XSLT , 
>>        Perl Content-Type:
>>
>> $r->send_http_header( "Content-Type: text/xml; charset=UTF-8" );
>> # $r->send_http_header( "text/xml; charset=UTF-8" );
>> # $r->send_http_header( "text/xml" );
>> # $r->header_out( 'Content-Type', 'text/xml' );
>
>  debug  /volunteer/questionary/personal/
> ,  , .
>
> P.S.   ,     ,   .
>
>>
>> 24  2011. 14:49  Denis F. Latypoff
>> <latypoff  yandex.ru>; :
>>
>>> 24.05.2011, 17:45, "Andrey Aleksandrov" <andrey.aleksandrov  gmail.com>;:
>>>>  !
>>>>
>>>>     Perl    XSLT .
>>>>
>>>> Server: nginx/0.8.39
>>>>
>>>>   :
>>>>
>>>>   server {
>>>>     listen 8081;
>>>>     server_name localhost;
>>>>     location / {
>>>>      perl Volunteer::qPersonal;
>>>>     }
>>>>   }
>>>>
>>>>   server {
>>>>     listen 80;
>>>>     location /volunteer/questionary/personal/ {
>>>> #     root /var/www/xml;
>>>> #     index index.xml;
>>>>      proxy_pass http://localhost:8081;
>>>>      proxy_set_header Host $host;
>>>>      proxy_set_header X-Real-IP $remote_addr;
>>>>      xml_entities /var/www/dtd/language/russian.dtd;
>>>>      xslt_stylesheet /var/www/xslt/default/base.xsl;
>>>>     }
>>>>
>>>>  }
>>>>
>>>>     Perl   Proxy  XML  
>>>>   XSLT ,     
>>>>    XML     
>>>> ?
>>>  content-type' ,     XML.
>>> Content-type       xslt_types,
>>>     text/xml
>>>
>>> --
>>> br, Denis F. Latypoff.
>>>
>>> _______________________________________________
>>> nginx-ru mailing list
>>> nginx-ru  nginx.org
>>> http://nginx.org/mailman/listinfo/nginx-ru
>>
>> _______________________________________________
>> nginx-ru mailing list
>> nginx-ru  nginx.org
>> http://nginx.org/mailman/listinfo/nginx-ru
>
> --
> br, Denis F. Latypoff.
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru  nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>


nginx-ru