Nested Server Side Includes

software development

#1

I have SSIs within included files, and only the first level of including works.
For example:

page.shtml:


header.shtml:


js_script.shtml:
Whatever…


What I end up with when I look at the source of the browsed page looks like:

 <html>
 <head>
 <!-- #include virtual="/inc/js_script.shtml" -->
 </head>
 </html>

So the SSI directive in page.shtml was processed, but the one in head.shtml was not.

Any ideas?


#2

Oops… ignore this. I misunderstood the problem.