|
Apache
| [Previous] [Main] [Next] |
|
| |
| html++ is fully compatible with the Apache web server for various Unix operating systems, including Sun, AIX, BSDI, FreeBSD, Linux, and others. All you need to do is place your html++ executables in the cgi-bin directory for the server (or virtual domain):
| |
|
| |
| ~www/cgi-bin
| |
|
| |
| To embed html++ output within another document, you must use Server-Side Includes. There are two ways to enable server-side includes with Apache:
| |
|
| |
|
|
| |
| Within the document, you must specify the application to be executed using an HTML comment. You must specify a full path. For example:
| |
|
| |
| <!--#exec cmd="/home/biz/account/cgi-bin/htmlpp_app" -->
| |
|
| |
| You may also find it useful to simply include other static documents within a document, such as for page headers, page footers, copyright notices, etc. To do that, embed the following within your document:
| |
|
| |
| <!--#include file="document.html" -->
| |
|
| |
| Note that the pathname for include'd files is relative to the directory of the parent document.
| |
