December 2007
Beginner to intermediate
310 pages
8h 8m
English
You want to include SSI directives in the output from a CGI script and have them processed correctly.
This is fully supported only in Apache httpd version 2.0 and later.
Put the following into a scope that includes the CGI scripts for
which you want the output parsed. Change the .cgi suffix to whatever your scripts
use:
Options +Includes AddOutputFilter INCLUDES .cgi
Place this text in the server-wide configuration files or in a .htaccess file in the same directory as the scripts. This will cause the server to collect the output from the scripts and examine it for SSI directives before sending it to the client.
Read now
Unlock full access