This page describes howto use Server Side Include or SSI using a special CGI program. The advantage of this solution is that it will work with almost any HTTP daemon with CGI support (like the stock HTTP server in FREESCO).
I've made a small tarball with the required binary (ssi.cgi) and a small demo, this is how you install it:
[Linux] cd /www /mnt/router/www [Linux] snarf http://dingetje.homeip.net/packages/ssi.tar.gz http://dingetje.homeip.net/packages/ssi.tar.gz (6K) ssi.tar.gz [########################] 6K | 2541.91K/s 6864 bytes transferred in 0.00 sec (1352.79k/sec) [Linux] tar -zxvf ssi.tar.gz cgi/ cgi/ssi.cgi ssi/ ssi/hello.txt ssi/ssi_demo.shtml [Linux] rm ssi.tar.gz
Now point your favorite browser to http://your.domain.name/cgi/ssi.cgi/ssi/ssi_demo.shtml or if you don't have a dyndns domain name, then use the IP address of your FREESCO box to view the page, e.g. http://192.168.0.1/cgi/ssi.cgi/ssi/ssi_demo.shtml
The page should look like this
The page to create this code looks like this
The HTMLized man page for the SSI program can be found at http://www.acme.com/software/thttpd/ssi_man.html
And here is a tutorial to explain SSI in more detail.
Written for FREESCO by — dingetje 2005/04/08 01:32