diff options
-rw-r--r-- | main.c | 1 | ||||
-rw-r--r-- | uhttpd.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -164,6 +164,7 @@ static void init_defaults(void) conf.http_keepalive = 0; /* fixme */ conf.max_requests = 3; conf.realm = "Protected Area"; + conf.cgi_prefix = "/cgi-bin"; uh_index_add("index.html"); uh_index_add("index.htm"); @@ -41,6 +41,7 @@ struct config { char *realm; char *file; char *error_handler; + char *cgi_prefix; int no_symlinks; int no_dirlists; int network_timeout; |