aboutsummaryrefslogtreecommitdiffstats
path: root/package/uhttpd/src/uhttpd.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-07-23 13:15:22 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-07-23 13:15:22 +0000
commitb688fcaa5c8aa6c3bbb08075e4204eda0ac16052 (patch)
tree66853f91f396421e88f59c4240f8a0505dff5d80 /package/uhttpd/src/uhttpd.h
parentc28ab82e0469e2c8a578f3fd40bfa10e3835290d (diff)
downloadupstream-b688fcaa5c8aa6c3bbb08075e4204eda0ac16052.tar.gz
upstream-b688fcaa5c8aa6c3bbb08075e4204eda0ac16052.tar.bz2
upstream-b688fcaa5c8aa6c3bbb08075e4204eda0ac16052.zip
uhttpd: - fix a compile warning - support custom index file names - support custom error pages (or cgi handler) - add option to disable directory listings - add REDIRECT_STATUS for CGI requests, fixes php-cgi
SVN-Revision: 22366
Diffstat (limited to 'package/uhttpd/src/uhttpd.h')
-rw-r--r--package/uhttpd/src/uhttpd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/uhttpd/src/uhttpd.h b/package/uhttpd/src/uhttpd.h
index 32e3970072..c8fdaf4846 100644
--- a/package/uhttpd/src/uhttpd.h
+++ b/package/uhttpd/src/uhttpd.h
@@ -64,7 +64,10 @@ struct config {
char docroot[PATH_MAX];
char *realm;
char *file;
+ char *index_file;
+ char *error_handler;
int no_symlinks;
+ int no_dirlists;
int network_timeout;
#ifdef HAVE_CGI
char *cgi_prefix;
@@ -124,6 +127,7 @@ struct auth_realm {
struct http_request {
int method;
float version;
+ int redirect_status;
char *url;
char *headers[UH_LIMIT_HEADERS];
struct auth_realm *realm;