[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [PATCH 2/4] httpd_indexcgi.c and httpd_ssi.c: fix description
From:       Sergey Ponomarev <stokito () gmail ! com>
Date:       2021-08-23 13:41:15
Message-ID: 20210823134117.49807-1-stokito () gmail ! com
[Download RAW message or body]

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
---
 networking/httpd_indexcgi.c | 12 ++++++++----
 networking/httpd_ssi.c      |  4 ++--
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/networking/httpd_indexcgi.c b/networking/httpd_indexcgi.c
index 53d316d05..34429e9c5 100644
--- a/networking/httpd_indexcgi.c
+++ b/networking/httpd_indexcgi.c
@@ -14,12 +14,16 @@
  */
 
 //config:config CGI_DIRLIST
-//config:	bool "CGI dirlist"
+//config:	bool "cgi-dirlist"
 //config:	default n
 //config:	help
-//config:	 GGI script to generate directory list index i.e. table of files.
-//config:	 To use it link the cgi-dirlist binary to a target folder's cgi-bin e.g.:
-//config:	   ln /usr/bin/cgi-dirlist  /srv/www/cgi-bin/index.cgi
+//config:	 CGI dirlist generate directory list index i.e. table of files.
+//config:	 To use it call the cgi-dirlist binary from the target folder's cgi-bin/index.cgi
+//config:	 E.g. to install it into /srv/www/:
+//config:	   cd /srv/www/
+//config:	   mkdir -p cgi-bin
+//config:	   printf '#!/bin/sh\n/usr/bin/cgi-dirlist' > ./cgi-bin/index.cgi
+//config:	   chmod a+x cgi-bin/index.cgi
 //config:	 When open in browser you'll see list of files in the /srv/www/ directory
 
 //kbuild:lib-$(CONFIG_CGI_DIRLIST) += httpd_indexcgi.o
diff --git a/networking/httpd_ssi.c b/networking/httpd_ssi.c
index a14a09bbb..7707e7891 100644
--- a/networking/httpd_ssi.c
+++ b/networking/httpd_ssi.c
@@ -18,10 +18,10 @@
  */
 
 //config:config SSI
-//config:	bool "Server-Side Includes (SSI) interpreter"
+//config:	bool "ssi"
 //config:	default n
 //config:	help
-//config:	 Tool to generate a single HTML from several files.
+//config:	 Server-Side Includes (SSI) interpreter for HTTPD to generate a single HTML from templates.
 //config:	 E.g. you have a template index.shtml and it's body starting with
 //config:	  <!--#include file="header.html" -->
 //config:	 SSI interpreter will replace the directive with raw text from header.html
-- 
2.30.2

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic