Welcome! Log In Create A New Profile

Advanced

Re: SSI stubs/blocks

Kasper Grubbe
October 25, 2012 05:10AM
2012/10/25 Valentin V. Bartenev <ne@vbart.ru>

> On Thursday 25 October 2012 12:48:28 Kasper Grubbe wrote:
> > Hello,
> >
> > I am using nginx/1.2.3 on my server, and tried to use this in my SSI
> > includes:
> >
> > <!--# block name="#{unique}" --><!--# endblock -->
> > <!--# include virtual="#{url}" stub="#{unique}" -->
> >
> > However, this doesn't seem to work. I just get a blank page, and nothing
> is
> > included.
> > [...]
>
> #{url} and #{unique} don't look like valid values.
>
> wbr, Valentin V. Bartenev
>
> --
> http://nginx.com/support.html
> http://nginx.org/en/donation.html
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

Sorry, that is from my Ruby code, the rendered output would be this:

<!--# block name="ss116812" --><!--# endblock -->
<!--# include virtual="/poll/sidebar_widget_fragment?poll=" stub="ss116812"
-->

And after running it through NGINX, it would just not render anything.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

SSI stubs/blocks

Kasper Grubbe October 25, 2012 04:50AM

Re: SSI stubs/blocks

VBart October 25, 2012 05:06AM

Re: SSI stubs/blocks

Kasper Grubbe October 25, 2012 05:10AM

Re: SSI stubs/blocks

VBart October 25, 2012 05:18AM

Re: SSI stubs/blocks

Kasper Grubbe October 25, 2012 05:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 172
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready