general windows unix linux debian apache nginx iphone

SSI Includes

Tags: ssi, apache, cgi

How to embed CGI scripts in HTML files

In order to embed CGI scripts, first find if your web hosting company supports Server Side Include (SSI). Call or email your tech support to find this. [If you're hosting on Bluehost, yes they support SSI]

Testing the SSI include

Lets create a file called ssi.html that embeds a Perl script date.pl. This Perl script outputs the current date and time when executed.

Demo

Check out the working demo here.

Last Update: 2007