More on clixon base container on Alpine
This commit is contained in:
parent
973e5d7507
commit
f02310dcef
7 changed files with 62 additions and 13 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue