SSI Command Inside Of An SSI File Doesn't Work -
11-30-2007
, 12:38 PM
My file
"index.shtml"
contains the line
<!--#include virtual="xxx/yyy/common/ssi-footer.inc" -->
The file
"ssi-footer.inc"
contains the line
"<div align="center">
Copyright © 2000–
<!--#config timefmt="%Y" --><!--#echo var="DATE_LOCAL" -->.
All rights reserved.
</div>"
The year, 2007, does not appear on the page in the footer. Is this
because the server doesn't know how to parse a file that uses a ".inc"
filename extension?
Previous to my using includes, I used this same code in the file
"index.shtml". The "2007" did appear properly in my site.
If I were to change the filename to "ssi-footer.shtml" (I'm not), how
would I force the server to parse "ssi-footer.shtml" before it parsed
"index.shtml"?
Thank you.
--
Kurt Todoroff
kurt.r.todoroff (AT) comcast (DOT) net
Markets, not mandates and mob rule.
Consent, not coercion. |