Configuration

web::config

web::config key ?value?

If value is ommitted, the current value of key is returned.

uploadfilesize ?size?
Sets the maximum number of bytes allowed to be uploaded. Default: 0.
cmdparam ?name?
Name of the web::command parameter in the URL. Default: "cmd".
timeparam ?name?
Name of the timestamp parameter in the URL. Default: "t".
logsubst ?boolean?
Turns substitution of log messages on or off. Default: off.
putxmarkup ?brace|tag?
Sets the markup characters for sections to be eval'd in web::putx and web::putxfile commands to either curly braces ({ ... }) or special tags (<? ... ?>). Please note that when using the tags <? ?>, they cannot be nested. Default: brace.
version
Returns the version info string.
copyright
Returns a copyright message string.
encryptchain ?list?
defines which commands should be tried, in sequence, to encrypt a message. Default: "web::encryptd".
decryptchain ?list?
defines which commands should be tried, in sequence, to decrypt a message. Default: "web::decryptd".

Example 1. web::config

	% web::config decryptchain
	web::encryptd
	%