Server side include test

Well this is just a little test to see if I can get sever-side includes working. An important thing to remember when setting this up is that the page with the SSI in must have execute permissions. Currently it is not required to use the extension .shtml
(page last updated: 06/02/2000).

Server Side Environment Variables


Execute a CGI

CGI being exec'd ...
#!/bin/perl # Name: test.pl # Author: Robert R. Chasmer (KAOS 95) # Created: 03/02/95 # Last changed: 28/11/96 # Job: Obvious isn't it? # Changes: Irelevant! print "Content-Type: text/html\n\n"; print "Hello World!\n";
... CGI exec completed.

Second CGI being exec'd ...
Failed to execute CGI : Win32 Error Code = 2

... Second CGI exec completed.


Virtual HTML include

Child HTML include start...
Chas's server-side include (child)

A message from the child

Welcome to the body text for the child. Anyway, got to go, bye!!!
... Child HTML include end.

Other SSI commands

FSIZE

fsize start...
1 , or 261 bytes
... fsize end.

FLASTMOD

flastmod start...
Tuesday August 05 2003 , or Cannot perform flastmod(): Win32 Error Code = 87

... flastmod end.

Useful SSI links...


Const Index Robert R. Chasmer (chas@kaosuk.co.uk) - (C) KAOS 1995-2000.