From a5a86f99ca13f80aff66b43cc13f9ed2d3301d50 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Sun, 10 May 2020 15:44:36 +1000 Subject: [PATCH] added note about the http service --- hobby-http.lsp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hobby-http.lsp b/hobby-http.lsp index 3b6be62..78adbba 100755 --- a/hobby-http.lsp +++ b/hobby-http.lsp @@ -2,8 +2,15 @@ # # Simple HTTP service for a directory tree. Start with: # -# newlisp hobby-http.lsp -c -d $PORT -w $TREE +# newlisp hobby-http.lsp -c -http -d $PORT -w $TREE # +# Note that it does not make automatic file indexes of directories, +# and it only shows the files that are there. Some files are handled +# by their file extension, such as: .avi, .cgi, .css, .gif, .htm, +# .html, .jpg, .js, .mov, .mp3,.mpg, .pdf, .png, .wav, .zip. Those +# files are served with appropriate mime types, except .cgi which if +# executable will be executed as a near CGI 1.1 script. Other files +# are served with type "text/plain". ; Exit on ^C -- not cleanly (signal 2 (fn (x) (write-line 2 "Exiting") (close 3) (exit 0))) -- 2.39.2