GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SSI-CGI(1) FreeBSD General Commands Manual SSI-CGI(1)

ssi-cgi - Server Side Includes parser as a CGI program

ssi-cgi
 
-h: show help and exit.
 
-v: show version and compile information and exit.

SSI parser which works like a CGI application.

SSI commands have the following format: <!--#command parameter="value"-->. This chapter shows all the available SSI commands and their parameters in ssi-cgi.
config
Use the config command to control the output.
 
Parameters:
 
errmsg: Set the message ssi-cgi must print in case of an error.
 
Example: <!--#config errmsg="SSI error"-->
echo
Print the value of a variable.
 
Parameters:
 
var: Print the value of an environment variable.
 
Example: <!--#echo var="DOCUMENT_ROOT"-->
exec
Execute a program and include its output at the position of the exec command.
 
Parameters:
 
cgi: Execute a CGI program relative to the website root.
 
cmd: Execute any command as a parameter of /bin/sh.
 
Example: <!--#exec cmd="ls -Flsh"-->
fsize
Print the size of a file.
 
Parameters:
 
file: The file of which the size should be printed.
 
Example: <!--#fsize file="info.txt"-->
include
Include another file at the position of the include command.
 
Parameters:
 
file: Include another file relative to the current file.
 
virtual: Include another file relative to the website root.
 
Example: <!--#include file="information.txt"-->
printenv
Print all environment variables.
 
Example: <!--#printenv-->

SSI-CGI is part of the Hiawatha webserver. See hiawatha(1) for more information about Hiawatha.

Hugo Leisink <hugo@hiawatha-webserver.org> - http://www.hiawatha-webserver.org/

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.