#echo, #flastmod and other server side directives 
Author Message
 #echo, #flastmod and other server side directives

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.



Sun, 09 Feb 2003 03:00:00 GMT  
 #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.



Sun, 09 Feb 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Server Side Directives

2. Calling Server Side JScript from Server Side VBScript

3. VBScript works on 1 server but failed on others

4. attached Contact Item on server-side becomes attached Mail Item on client-side

5. How Can I Pass Data Between the Server Side and the Client Side VB/JScript

6. Server side or client side cursors?

7. Printing report at the client side and the report is at the server side

8. Printing report at the client side and the report is at the server side

9. using same cookie server-side and client-side

10. Client side or server side cookie

11. Mixing of client-side and server-side scripts

12. Server side variables to client side script?

 

 
Powered by phpBB® Forum Software