diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-10 03:08:22 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-10 03:08:22 +0200 |
commit | d277f55ebd3f21cef759435b432e37e8f1316f90 (patch) | |
tree | 02c2b6c67254c615f9d5a4c5f8d4c118afdef6ef | |
parent | ca18311d0ae16a96e988df15a9009095f93df85e (diff) | |
download | busybox-w32-d277f55ebd3f21cef759435b432e37e8f1316f90.tar.gz busybox-w32-d277f55ebd3f21cef759435b432e37e8f1316f90.tar.bz2 busybox-w32-d277f55ebd3f21cef759435b432e37e8f1316f90.zip |
http: document index.cgi usage. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/httpd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index 9c1aa2a6f..eded7b63f 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -21,6 +21,10 @@ | |||
21 | * The server changes directory to the location of the script and executes it | 21 | * The server changes directory to the location of the script and executes it |
22 | * after setting QUERY_STRING and other environment variables. | 22 | * after setting QUERY_STRING and other environment variables. |
23 | * | 23 | * |
24 | * If directory URL is given, no index.html is found and CGI support is enabled, | ||
25 | * cgi-bin/index.cgi will be run. Directory to list is ../$QUERY_STRING. | ||
26 | * See httpd_indexcgi.c for an example GCI code. | ||
27 | * | ||
24 | * Doc: | 28 | * Doc: |
25 | * "CGI Environment Variables": http://hoohoo.ncsa.uiuc.edu/cgi/env.html | 29 | * "CGI Environment Variables": http://hoohoo.ncsa.uiuc.edu/cgi/env.html |
26 | * | 30 | * |
@@ -71,7 +75,7 @@ | |||
71 | * D:2.3.4. # deny from 2.3.4.0 - 2.3.4.255 | 75 | * D:2.3.4. # deny from 2.3.4.0 - 2.3.4.255 |
72 | * A:* # (optional line added for clarity) | 76 | * A:* # (optional line added for clarity) |
73 | * | 77 | * |
74 | * If a sub directory contains a config file it is parsed and merged with | 78 | * If a sub directory contains config file, it is parsed and merged with |
75 | * any existing settings as if it was appended to the original configuration. | 79 | * any existing settings as if it was appended to the original configuration. |
76 | * | 80 | * |
77 | * subdir paths are relative to the containing subdir and thus cannot | 81 | * subdir paths are relative to the containing subdir and thus cannot |