summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko2009-09-10 21:27:39 +0200
committerDenys Vlasenko2009-09-10 21:27:39 +0200
commit56573cb4f7393fdb320660a5c258c72688a74f64 (patch)
tree700267083c53b17477ecc135434fe179b307f8a6 /networking
parentdb4a67628d4e4418d01bbba1c8603a6ca8c3562e (diff)
downloadbusybox-56573cb4f7393fdb320660a5c258c72688a74f64.zip
busybox-56573cb4f7393fdb320660a5c258c72688a74f64.tar.gz
networking/httpd_ssi.c: expand comments
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/httpd_ssi.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/networking/httpd_ssi.c b/networking/httpd_ssi.c
index f758059..86f341f 100644
--- a/networking/httpd_ssi.c
+++ b/networking/httpd_ssi.c
@@ -7,6 +7,11 @@
/*
* This program is a CGI application. It processes server-side includes:
* <!--#include file="file.html" -->
+ *
+ * Usage: put these lines in httpd.conf:
+ *
+ * *.html:/bin/httpd_ssi
+ * *.htm:/bin/httpd_ssi
*/
/* Build a-la
@@ -65,9 +70,10 @@ static void process_includes(const char *filename)
continue;
}
*closing_dq = '\0';
- /* FIXME: (1) are relative paths ok?
+ /* FIXME:
+ * (1) are relative paths with /../ etc ok?
* (2) if we include a/1.htm and it includes b/2.htm,
- * do we need to insert a/b/2.htm or b/2.htm?
+ * do we need to include a/b/2.htm or b/2.htm?
* IOW, do we need to "cd $dirname"?
*/
process_includes(line + sizeof(INCLUDE)-1);