Fossil SCM

Added a note to the cgi command's help about the processing order of directives, per forum request.

stephan 2022-07-18 12:07 trunk
Commit 8d3176f117ce5fdbdd29bf5e14e88281107450a07a29d105e8656578109acdc5
1 file changed +5
+5
--- src/main.c
+++ src/main.c
@@ -2257,10 +2257,15 @@
22572257
** mainmenu: FILE Override the mainmenu config setting with the
22582258
** contents of the given file.
22592259
**
22602260
** Most CGI files contain only a "repository:" line. It is uncommon to
22612261
** use any other option.
2262
+**
2263
+** The lines are processed in the order they are read, which is most
2264
+** significant for "errorlog:", which should be set before "repository:"
2265
+** so that any warnings from the database when opening the repository
2266
+** go to that log file.
22622267
**
22632268
** See also: [[http]], [[server]], [[winsrv]]
22642269
*/
22652270
void cmd_cgi(void){
22662271
const char *zFile;
22672272
--- src/main.c
+++ src/main.c
@@ -2257,10 +2257,15 @@
2257 ** mainmenu: FILE Override the mainmenu config setting with the
2258 ** contents of the given file.
2259 **
2260 ** Most CGI files contain only a "repository:" line. It is uncommon to
2261 ** use any other option.
 
 
 
 
 
2262 **
2263 ** See also: [[http]], [[server]], [[winsrv]]
2264 */
2265 void cmd_cgi(void){
2266 const char *zFile;
2267
--- src/main.c
+++ src/main.c
@@ -2257,10 +2257,15 @@
2257 ** mainmenu: FILE Override the mainmenu config setting with the
2258 ** contents of the given file.
2259 **
2260 ** Most CGI files contain only a "repository:" line. It is uncommon to
2261 ** use any other option.
2262 **
2263 ** The lines are processed in the order they are read, which is most
2264 ** significant for "errorlog:", which should be set before "repository:"
2265 ** so that any warnings from the database when opening the repository
2266 ** go to that log file.
2267 **
2268 ** See also: [[http]], [[server]], [[winsrv]]
2269 */
2270 void cmd_cgi(void){
2271 const char *zFile;
2272

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button