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: SSI XSLT - ?



:
location ~*\.xml {
fastcgi_index index.php;
fastcgi_pass localhost:9000;
fastcgi_param SCRIPT_FILENAME /usr/test/index.php;
fastcgi_param REQUEST_URI $fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
ssi on;
ssi_types text/xml text/html;
}

location ~*\.html {
ssi on;
ssi_types text/xml text/html;
try_files $uri @php;
}

location ~*\.php {
fastcgi_index index.html;
fastcgi_pass localhost:9000;
fastcgi_param SCRIPT_FILENAME /usr/test$fastcgi_script_name;
fastcgi_param REQUEST_URI $fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
}

location @php {
fastcgi_index index.html;
fastcgi_pass localhost:9000;
fastcgi_param SCRIPT_FILENAME /usr/test/index.php;
fastcgi_param REQUEST_URI $fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
xml_entities /usr/local/nginx/html/dtd/entities.dtd;
xslt_stylesheet /usr/test/xslt/index.xsl;
ssi on;
ssi_types text/xml text/html;
}

html ssi
.xml ( xml -
html -
24 2009 . 21:19 Igor Sysoev <is@xxxxxxxxxxxxx> :
On Sun, May 24, 2009 at 09:13:54PM +0300, Noon es Shadow wrote:

> .. xml- xml, xslt-
> html

(ssi on @php):

location ~*\.html {
ssi on;
try_files $uri @php;
}

location @php {
fastcgi_index index.html;
fastcgi_pass localhost:9000;
fastcgi_param SCRIPT_FILENAME /usr/test/index.php;
fastcgi_param REQUEST_URI $fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
xml_entities /usr/local/nginx/html/dtd/entities.dtd;
xslt_stylesheet /usr/test/xslt/index.xsl;
ssi on;
}

> 24 2009 . 21:12 Noon es Shadow
> <noonesshadow@xxxxxxxxx>:
>
> > text/html
> > ssi_types xml html
> >
> >
> > 24 2009 . 20:23 Igor Sysoev <is@xxxxxxxxxxxxx> :
> >
> > On Sun, May 24, 2009 at 09:15:33PM +0400, Igor Sysoev wrote:
> >>
> >> > On Sun, May 24, 2009 at 07:29:34PM +0300, Noon es Shadow wrote:
> >> >
> >> > > - , -
> >> > > , -
> >>
> >> >
> >> > xml- ? , -
> >> >
> >> > ssi_types text/xml;
> >>
> >> , .
> >> XSLT, SSI.
> >>
> >> > > 24 2009 . 18:22 Igor Sysoev <is@xxxxxxxxxxxxx>
> >> :
> >> > >
> >> > > > On Sun, May 24, 2009 at 06:03:43PM +0300, Noon es Shadow wrote:
> >> > > >
> >> > > > > , - , - ssi
> >> on
> >> > > > > ..
> >> > > >
> >> > > > ./configure ?
> >> > > >
> >> > > > >
> >> > > > > 22 2009 . 10:45 Igor Sysoev <is@xxxxxxxxxxxxx>
> >> > > > :
> >> > > > >
> >> > > > > > On Sun, May 17, 2009 at 01:47:58PM +0300, Noon es Shadow wrote:
> >> > > > > >
> >> > > > > > > .. - -
> >>
> >> > > >
> >> > > > > > > - , ,
> >>
> >> > > >
> >> > > > > > > -..
> >> > > > > > > - , ,
> >> :)
> >> > > > > >
> >> > > > > > , .
> >> > > > > >
> >> > > > > >
> >> > > > > > --
> >> > > > > >
> >> > > > > > http://sysoev.ru
> >> > > > > >
> >> > > >
> >> > > > --
> >> > > >
> >> > > > http://sysoev.ru
> >> > > >
> >> > > >
> >> >
> >> > --
> >> >
> >> > http://sysoev.ru
> >>
> >> --
> >>
> >> http://sysoev.ru
> >>
> >>
> >

--



 




Copyright © Lexa Software, 1996-2009.