summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2011-04-10 03:08:22 +0200
committerDenys Vlasenko2011-04-10 03:08:22 +0200
commitd277f55ebd3f21cef759435b432e37e8f1316f90 (patch)
tree02c2b6c67254c615f9d5a4c5f8d4c118afdef6ef
parentca18311d0ae16a96e988df15a9009095f93df85e (diff)
downloadbusybox-d277f55ebd3f21cef759435b432e37e8f1316f90.zip
busybox-d277f55ebd3f21cef759435b432e37e8f1316f90.tar.gz
http: document index.cgi usage. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/httpd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 9c1aa2a..eded7b6 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -21,6 +21,10 @@
* The server changes directory to the location of the script and executes it
* after setting QUERY_STRING and other environment variables.
*
+ * If directory URL is given, no index.html is found and CGI support is enabled,
+ * cgi-bin/index.cgi will be run. Directory to list is ../$QUERY_STRING.
+ * See httpd_indexcgi.c for an example GCI code.
+ *
* Doc:
* "CGI Environment Variables": http://hoohoo.ncsa.uiuc.edu/cgi/env.html
*
@@ -71,7 +75,7 @@
* D:2.3.4. # deny from 2.3.4.0 - 2.3.4.255
* A:* # (optional line added for clarity)
*
- * If a sub directory contains a config file it is parsed and merged with
+ * If a sub directory contains config file, it is parsed and merged with
* any existing settings as if it was appended to the original configuration.
*
* subdir paths are relative to the containing subdir and thus cannot