# SSI stubs/blocks

**URL:** <https://www.ruby-forum.com/t/ssi-stubs-blocks/223972>\
**Category:** NGINX\
**Created:** [October 25, 2012, 10:48am UTC](https://www.ruby-forum.com/t/ssi-stubs-blocks/223972 "2012-10-25T10:48:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [October 25, 2012, 10:48am UTC](https://www.ruby-forum.com/t/ssi-stubs-blocks/223972/1 "2012-10-25T10:48:53Z")

</div>

Hello,

I am using nginx/1.2.3 on my server, and tried to use this in my SSI  
includes:

However, this doesn’t seem to work. I just get a blank page, and nothing  
is  
included.

Is my NGINX too old, or do I need to it differently? I am following the  
example mentioned here:  
[http://nginx.org/en/docs/http/ngx\_http\_ssi\_module.html](http://nginx.org/en/docs/http/ngx_http_ssi_module.html)

Greetings,  
Kasper

---

<div class="post-metadata">

**Author:** ![Kasper\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/ecb155/32.png) [@Kasper\_G](https://www.ruby-forum.com/u/Kasper_G)\
**Post date:** [October 25, 2012, 11:06am UTC](https://www.ruby-forum.com/t/ssi-stubs-blocks/223972/2 "2012-10-25T11:06:26Z")

</div>

On Thursday 25 October 2012 12:48:28 Kasper G. wrote:

> […]  
> #{url} and #{unique} don’t look like valid values.

wbr, Valentin V. Bartenev

–

> **[F5 NGINX: Built for cloud-native apps. Ready for AI traffic.](https://www.f5.com/products/nginx)**
>
> Deliver modern applications with NGINX. Explore high-performance load balancing, API gateways, and web server solutions trusted by top global enterprises.

> **[nginx: donation](http://nginx.org/en/donation.html)**

---

<div class="post-metadata">

**Author:** ![Kasper\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/ecb155/32.png) [@Kasper\_G](https://www.ruby-forum.com/u/Kasper_G)\
**Post date:** [October 25, 2012, 11:09am UTC](https://www.ruby-forum.com/t/ssi-stubs-blocks/223972/3 "2012-10-25T11:09:21Z")

</div>

2012/10/25 Valentin V. Bartenev [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> is
> 
> * * *
> 
> nginx mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [mailman.nginx.org archive](http://mailman.nginx.org/mailman/listinfo/nginx)

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

And after running it through NGINX, it would just not render anything.

---

<div class="post-metadata">

**Author:** ![Kasper\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/ecb155/32.png) [@Kasper\_G](https://www.ruby-forum.com/u/Kasper_G)\
**Post date:** [October 25, 2012, 11:49am UTC](https://www.ruby-forum.com/t/ssi-stubs-blocks/223972/4 "2012-10-25T11:49:41Z")

</div>

2012/10/25 Valentin V. Bartenev [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> > And after running it through NGINX, it would just not render anything.
> 
> Are you sure, that /poll/sidebar\_widget\_fragment?poll= returns something  
> with  
> 200 status code?

Yep, [http://woman.dk/poll/sidebar\_widget\_fragment?poll=](http://woman.dk/poll/sidebar_widget_fragment?poll=)

---

<div class="post-metadata">

**Author:** ![Kasper\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/ecb155/32.png) [@Kasper\_G](https://www.ruby-forum.com/u/Kasper_G)\
**Post date:** [October 25, 2012, 11:16am UTC](https://www.ruby-forum.com/t/ssi-stubs-blocks/223972/5 "2012-10-25T11:16:57Z")

</div>

On Thursday 25 October 2012 13:08:45 Kasper G. wrote:

> […]
> 
> Sorry, that is from my Ruby code, the rendered output would be this:
> 
> And after running it through NGINX, it would just not render anything.

Are you sure, that /poll/sidebar\_widget\_fragment?poll= returns something  
with  
200 status code?

wbr, Valentin V. Bartenev

–

> **[F5 NGINX: Built for cloud-native apps. Ready for AI traffic.](https://www.f5.com/products/nginx)**
>
> Deliver modern applications with NGINX. Explore high-performance load balancing, API gateways, and web server solutions trusted by top global enterprises.

> **[nginx: donation](http://nginx.org/en/donation.html)**
