This is an old revision of the document!
CGI Environment Variables
ctrl/cgi_env.ini configuration file is used by the Synchronet Web Server to determine what environment variables will be created, preserved, or modified for use by any CGI programs. Any environment variables not specifically called-out in this file will not be present in the environment in which CGI programs are executed.
Each named section identifies an environment variable that will be preserved or created.
The optional key=value pairs for each section are:
The default value for the environment variable may be specified with a
default=value key so that if the environment variable doesn't already exist it will be created with this value.
The value of the environment variable may be completely overridden using the
If you wish to have a string prepended to an environment variable's value, use the
If you wish to have a string appended to an environment variable's value, use the