Welcome! Log In Create A New Profile

Advanced

SSI include infinite loop

eagle sbc
May 23, 2011 10:52PM
Hello,

I've encountered a problem about "SSI include infinite loop".

We have a system that our editors can compose a html page from some
templates using SSI. Sometimes unwarily combination will cause infinite
loop, such as 'A include A', 'A include B, B include A', or even 'A include
B, B include C, C include A'. And this page will cause nginx eating up all
memories, and certainly won't serve any more unless we restart nginx.

I'm wondering is there any solution for this problem? Or other ways to avoid
this?

I've googled apache and lighttpd, and there also no official solution for
this, unless lightptd has a patch which will limit the whole 'include'
count, and I think it's just a tricky way to fix the infinite loop.

Thanks a lot for any help!


--
自由是我生命之基石,尊重是我行为之准绳
也许我以千百种方式生活在这世上,但我坚守我人生之信仰
所以,我的朋友
请平视的看着我,带着你的微笑
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

SSI include infinite loop

eagle sbc May 23, 2011 10:52PM

Re: SSI include infinite loop

Maxim Dounin May 24, 2011 09:00AM

Re: SSI include infinite loop

eagle sbc May 24, 2011 11:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
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