suckless-quark/config.def.h

30 lines
913 B
C
Raw Normal View History

2009-08-15 18:56:11 +00:00
/* quark configuration */
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" },
{ "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" },
{ "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" },
{ "mp3", "audio/mp3" }
2009-08-15 18:56:11 +00:00
};