summaryrefslogtreecommitdiff
path: root/network/bozohttpd/README
diff options
context:
space:
mode:
Diffstat (limited to 'network/bozohttpd/README')
-rw-r--r--network/bozohttpd/README20
1 files changed, 14 insertions, 6 deletions
diff --git a/network/bozohttpd/README b/network/bozohttpd/README
index 751b8229bd..a57d6764f4 100644
--- a/network/bozohttpd/README
+++ b/network/bozohttpd/README
@@ -13,16 +13,24 @@ but is capable of running as a standalone daemon (the -b option). There
is no startup script for daemon mode, but you can launch bozohttpd
from /etc/rc.d/rc.local.
-Optional dependency: lua
+bozohttpd has several features that can be disabled at compile time,
+to reduce the binary size and/or to avoid security issues (features
+that aren't included can't be exploited). See the file defines.default
+for details on how to do this. By default, all features are enabled
+(except maybe lua; see below).
+
+Optional dependency: lua52 or lua53.
bozohttpd can be built with support for dynamic content using Lua. This
isn't needed for running CGI scripts that happen to be written in Lua.
It's for embedding a Lua interpreter in bozohttpd, in the style of
-Apache's mod_php or mod_perl.
+Apache's mod_php or mod_perl. As of bozohttpd-20181125, lua 5.1.x
+(aka SBo's lua package) is no longer supported. You can set LUA in the
+environment if the default isn't what you want:
-If lua is installed when the script is run, bozohttpd will be built with
-Lua support automatically. If you have lua installed but don't want to
-build bozohttpd with it, export LUA=no in the environment before running
-the script.
+LUA=yes - the default (autodetect; use highest version found, or none).
+LUA=5.2 - use lua52, or fail if not found.
+LUA=5.3 - use lua53, or fail if not found.
+LUA=no - disable lua support, even if lua52 and/or lua53 are installed.
Without Lua support, the -L option to bozohttpd will not work.