stumbleupon toolbar
Make payments with PayPal - it's fast, free and secure!
This site is up for
Count
Get Firefox!
Last Shout - Posted by: dingetje - Wednesday, 25 April 2012 13:17
http://freesco.sourceforge.net/
Howto for SSI via CGI
Howto SSI using CGI

Howto Server Side Include using CGI

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.

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 here

And here is a tutorial to explain SSI in more detail.

Written for FREESCO by dingetje
Last edited: November 8, 2005 18:39

 

FREESCO WebRing
The FREESCO Router WebRing
[ Join Now | Ring Hub | Random | << Prev | Next >> ]

Nedstat Basic - Gratis web site statistieken
Eigen homepage website teller


MKPortal ©2003-2006 mkportal.it
Page generated in 0.3626 seconds with 16 queries