jens1701
10-09-2007, 09:06 AM
Hello everybody, :)
i want to use the $LAST_MODIFIED ssi-directive to add the modification date of the actual xhtml site to my site info at the bottom of my site.
<ol class="siteInfo">
<li>©2007 <a href="./pages/contact.html">Jens</a> | </li>
<li><a href="./pages/impressum.html">Impressum</a> | </li>
<li><a href="./pages/siteMap.html">Site Map</a> | </li>
<li>last update: <!--#echo var="$LAST_MODIFIED" --></li>
</ol>
But in the browser i only get a <none> back, so the ssi is working but the var has no value. I've read that environment variables return a <none> if they are undefined. So this points to a server problem, but that there is a bug in a common feature like this is most unlikely.
Maybe it's my testing environment. I'm writing on a xaamp setup my web files are stored in htdocs.
Well, don't know! I hope someone can provide me a clue, or two. :)
Greets :)
Jens
i want to use the $LAST_MODIFIED ssi-directive to add the modification date of the actual xhtml site to my site info at the bottom of my site.
<ol class="siteInfo">
<li>©2007 <a href="./pages/contact.html">Jens</a> | </li>
<li><a href="./pages/impressum.html">Impressum</a> | </li>
<li><a href="./pages/siteMap.html">Site Map</a> | </li>
<li>last update: <!--#echo var="$LAST_MODIFIED" --></li>
</ol>
But in the browser i only get a <none> back, so the ssi is working but the var has no value. I've read that environment variables return a <none> if they are undefined. So this points to a server problem, but that there is a bug in a common feature like this is most unlikely.
Maybe it's my testing environment. I'm writing on a xaamp setup my web files are stored in htdocs.
Well, don't know! I hope someone can provide me a clue, or two. :)
Greets :)
Jens