Add simple cgi support +:
* read file byte after byte * format code (syslog + err) * move functions in utils.c
This commit is contained in:
parent
332a5cd1d6
commit
470e47a018
10 changed files with 268 additions and 67 deletions
7
opts.h
7
opts.h
|
@ -6,7 +6,8 @@
|
|||
#define DEFAULT_AUTOIDX 0
|
||||
|
||||
/* longest is 56 so 64 should be enough */
|
||||
static char default_mime[64] = DEFAULT_MIME;
|
||||
static char default_mime[64] = DEFAULT_MIME;
|
||||
static char chroot_dir[PATH_MAX] = DEFAULT_CHROOT;
|
||||
static char lang[16] = DEFAULT_LANG;
|
||||
static unsigned int doautoidx = DEFAULT_AUTOIDX;
|
||||
static char lang[16] = DEFAULT_LANG;
|
||||
static unsigned int doautoidx = DEFAULT_AUTOIDX;
|
||||
static char cgibin[PATH_MAX] = {'\0'};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue