
#echo, #flastmod and other server side directives
The #include is the only one that can be used from both ASP and conventional html pages, but
conventional (non-ASP) html pages need to use the extensions .stm, .shtm, or .shtml.
FWIW, I had never heard of these directives before this post ;-)... I only found the link below
with an MSDN search for flastmod. What's more, the "show toc" on the page works, but once shown,
the "sync toc" doesn't.
Server-Side Includes Reference
http://msdn.microsoft.com/library/psdk/iisref/serv9i5h.htm
Most (but not all) have the following in the Remarks...
<snip>
The file containing the #<directive_name_here> directives must use a file name extension that is
mapped to the SSI interpreter; otherwise, the Web server will not process the directives. By
default, the extensions .stm, .shtm, and .shtml are mapped to the interpreter (Ssinc.dll).
</snip>
--
Michael Harris
Microsoft.MVP.Scripting
--
Quote:
> hello... it's documented, and i followed what the documentation says. even
> went as far as copying the example and creating a file for it.
> i still can't get any of the server side directives to work. something i
> missed? what to check for? which component of IIS do i have to check to get
> these to work?
> btw... the #include works. but the others don't.