Hello,<br><br>I&#39;ve encountered a problem about &quot;SSI include infinite loop&quot;.<br><br>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 &#39;A include A&#39;, &#39;A include B, B include A&#39;, or even &#39;A include B, B include C, C include A&#39;. And this page will cause nginx eating up all memories, and certainly won&#39;t serve any more unless we restart nginx.<br>
<br>I&#39;m wondering is there any solution for this problem? Or other ways to avoid this? <br><br>I&#39;ve googled apache and lighttpd, and there also no official solution for this, unless lightptd has a patch which will limit the whole &#39;include&#39; count, and I think it&#39;s just a tricky way to fix the infinite loop.<br>
<br>Thanks a lot for any help! <br>&nbsp; <br clear="all"><br>-- <br><font color="#333333"><font face="&#39;comic sans ms&#39;, sans-serif">自由是我生命之基石,尊重是我行为之准绳</font></font><div><font color="#333333"><font face="&#39;comic sans ms&#39;, sans-serif">也许我以千百种方式生活在这世上,但我坚守我人生之信仰</font></font></div>
<div><font color="#333333"><font face="&#39;comic sans ms&#39;, sans-serif">所以,我的朋友</font></font></div><div><font color="#333333"><font face="&#39;comic sans ms&#39;, sans-serif">请平视的看着我,</font></font><span style="color:rgb(51, 51, 51)"><font face="&#39;comic sans ms&#39;, sans-serif">带着你的微笑</font></span></div>
<div><font color="#333333"><br></font></div><br>