environment
If you set general.cgi, ssc will check these environment variables:
| QUERY_STRING | CGI command, intended for use with OpenBSD’s httpd server. See notes below. |
| SSC_CONFIG | If no configuration file is given on the command line, use this one. |
| SSC_ARGS | Preliminary command line parameters. |
If, when ssc is run, the environment variable QUERY_STRING is set to an OpenBSD httpd server CGI value that includes the parameter html.snippet, then ssc will nitpick that snippet only. As the name suggests, the snippet must be HTML. Certain other parameters are processed, including general.verbose and html.version.
When using ssc in a webserver via slowcgi, it can pick up but pretty much ignore a number of other standard environment variables normally set by a webserver. It is intended for use with OpenBSD’s httpd web server, but should be able to work with others.