29 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "header": {
 | |
|         "version": 1,
 | |
|         "type": "record",
 | |
|         "approw-key": "LAYOUT_CFG_INET"
 | |
|     },
 | |
|     "body": {
 | |
|         "record1": {
 | |
|             "<1>": "Configure defaults, handlers, and allowed routines for RUN_OECGI_REQUEST",
 | |
|             "<2>": "When using RUN_OECGI_REQUEST as the \"listener\" routine for handling web requests, you can configure various routines to check security, handle errors, and do any post-processing.  In addition, you can specify which INET routines should be processed.",
 | |
|             "<3>": {
 | |
|                 "<3,1>": "Name of security routine to run {DEFAULT INET_SECURITY}",
 | |
|                 "<3,2>": "Name of post-processing routine to run {DEFAULT INET_FINALIZE}",
 | |
|                 "<3,3>": "Name of error handler routine to run {DEFAULT INET_ABORTED}",
 | |
|                 "<3,4>": "Name of \"white list\" routine to run {DEFAULT INET_WHITELIST}",
 | |
|                 "<3,5>": "Name of RESTful handler routine to run"
 | |
|             },
 | |
|             "<4>": "Error message to return {TEXTAREA 5}{DEFAULT Cannot process query:%query%}{WIDTH 40}",
 | |
|             "<5>": "Default CGI extension {DEFAULT exe}",
 | |
|             "<6>": "Error page to return",
 | |
|             "<7>": "{MV 1}List of INET routines to allow",
 | |
|             "<8>": {
 | |
|                 "<8,1>": "Primary compression algorithm to support {OPTIONS gzip/gzip|deflate/deflate|none/identity}{DEFAULT deflate}",
 | |
|                 "<8,2>": "Secondary compression algorithm to support {OPTIONS gzip/gzip|deflate/deflate|none/identity}{DEFAULT gzip}"
 | |
|             },
 | |
|             "<9>": "Minimum size of return string to compress {DEFAULT 1000}"
 | |
|         }
 | |
|     }
 | |
| } |