More on clixon base container on Alpine

This commit is contained in:
Olof Hagsand 2019-02-12 11:11:04 +01:00
parent 973e5d7507
commit f02310dcef
7 changed files with 62 additions and 13 deletions

View file

@ -197,7 +197,7 @@ forbidden(FCGX_Request *r)
path = FCGX_GetParam("DOCUMENT_URI", r->envp);
FCGX_FPrintF(r->out, "Status: 403\r\n"); /* 403 forbidden */
FCGX_FPrintF(r->out, "Content-Type: text/html\r\n\r\n");
FCGX_FPrintF(r->out, "<h1>Grideye Forbidden</h1>\n");
FCGX_FPrintF(r->out, "<h1>Forbidden</h1>\n");
FCGX_FPrintF(r->out, "The requested URL %s was forbidden.\n", path);
return 0;
}
@ -267,7 +267,7 @@ internal_server_error(FCGX_Request *r)
path = FCGX_GetParam("DOCUMENT_URI", r->envp);
FCGX_FPrintF(r->out, "Status: 500\r\n"); /* 500 internal server error */
FCGX_FPrintF(r->out, "Content-Type: text/html\r\n\r\n");
FCGX_FPrintF(r->out, "<h1>Grideye Internal server error when accessing %s</h1>\n", path);
FCGX_FPrintF(r->out, "<h1>Internal server error when accessing %s</h1>\n", path);
return 0;
}

View file

@ -504,7 +504,7 @@ usage(clicon_handle h,
exit(0);
}
/*! Main routine for grideye fastcgi API
/*! Main routine for fastcgi API
*/
int
main(int argc,