summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-31 17:46:11 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-12-31 17:46:11 +0100
commit98a231f91d7731d4f13ea9e4c4f568e42349faa2 (patch)
tree9f7c9669acf8db742914703a212ba8e611087358 /main.c
parentc426f3dee96c2a4468ff54c881fa15fa651d275a (diff)
add default cgi prefix
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index c0a6a82..3013dab 100644
--- a/main.c
+++ b/main.c
@@ -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");