SSI stubs/blocks

Kasper Grubbe kasperg at benjamin.dk
Thu Oct 25 09:08:45 UTC 2012


2012/10/25 Valentin V. Bartenev <ne at 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20121025/a8afc38a/attachment.html>


More information about the nginx mailing list