fix 404 and 403 error handling, improve error message output
[project/uhttpd.git] / main.c
diff --git a/main.c b/main.c
index 00e43cf..3013dab 100644 (file)
--- a/main.c
+++ b/main.c
@@ -163,6 +163,8 @@ static void init_defaults(void)
        conf.network_timeout = 30;
        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");