2009-08-15 18:56:11 +00:00
|
|
|
/* quark configuration */
|
|
|
|
|
2014-08-14 16:56:07 +00:00
|
|
|
static const char *servername = "127.0.0.1";
|
|
|
|
static const char *serverport = "80";
|
|
|
|
static const char *docroot = ".";
|
|
|
|
static const char *docindex = "index.html";
|
|
|
|
static const char *user = "nobody";
|
|
|
|
static const char *group = "nobody";
|
|
|
|
static const char *cgi_dir = ".";
|
|
|
|
static const char *cgi_script = "/werc.rc";
|
|
|
|
static int cgi_mode = 0;
|
2009-08-15 18:56:11 +00:00
|
|
|
|
|
|
|
static const MimeType servermimes[] = {
|
|
|
|
{ "html", "text/html; charset=UTF-8" },
|
|
|
|
{ "htm", "text/html; charset=UTF-8" },
|
|
|
|
{ "css", "text/css" },
|
2014-08-14 16:56:07 +00:00
|
|
|
{ "js", "application/javascript" },
|
2009-08-15 18:56:11 +00:00
|
|
|
{ "txt", "text/plain" },
|
2011-02-16 20:29:55 +00:00
|
|
|
{ "md", "text/plain" },
|
2009-08-15 18:56:11 +00:00
|
|
|
{ "png", "image/png" },
|
|
|
|
{ "gif", "image/gif" },
|
2014-08-14 16:56:07 +00:00
|
|
|
{ "jpeg", "image/jpeg" },
|
|
|
|
{ "jpg", "image/jpeg" },
|
2009-08-15 18:56:11 +00:00
|
|
|
{ "iso", "application/x-iso9660-image" },
|
|
|
|
{ "gz", "application/x-gtar" },
|
|
|
|
{ "pdf", "application/x-pdf" },
|
|
|
|
{ "tar", "application/tar" },
|
2014-08-09 20:29:08 +00:00
|
|
|
{ "mp3", "audio/mp3" }
|
2009-08-15 18:56:11 +00:00
|
|
|
};
|