An SSI interpreter that works independently on the server side.
The inspiration for SSI.cgi came from the need for an alternative to Apache, which the creator had used in the past for both personal and professional websites. After discovering Cherokee and its balance between lightweight setup and useful features, the need for an SSI solution became more pressing. Rather than converting sites to PHP or using Perl-based SSI solutions available online, the decision was made to develop an SSI parser from scratch.
SSI.cgi includes support for several directives, including include (to include a file relative to the filesystem, document root, or URL), echo (to display parameters or environment variables), flastmod (to display datestamp of a file), fsize (to display the file size), printenv (to print environment and user variables), set (to set user variables), config (to set SSI configuration options), if (a conditional statement), elif (a conditional statement for "else if" cases), else (a conditional statement for all other cases), and endif (to end conditional statements).
Requirements for SSI.cgi include cURL (to support the virtual parameter) and POSIX threads (for FastCGI). All in all, SSI.cgi is an outstanding tool for anyone looking to enhance their webserver's capabilities with SSI support.
Version 1.8: N/A