openwrt/package/network/services/uhttpd/files
Jo-Philipp Wich 7a8b75375c uhttpd: support multiple Lua prefixes
Update to latest git HEAD in order to support configuring multiple
concurrent Lua prefixes in a single uhttpd instance:

  b741dec lua: support multiple Lua prefixes

Additionally rework the init script and update the default configuration
example to treat the lua_prefix option as key=value uci list, similar to
the interpreter extension mapping. Support for the old "option lua_prefix"
plus "option lua_handler" notation is still present.

Finally drop the sed postinstall hack in uhttpd-mod-lua to avoid mangling
files belonging to other packages. Since Lua prefixes have precedence
over CGI prefixes, simply register `/cgi-bin/luci` as Lua handler which
will only become active if both luci-base and uhttpd-mod-lua is installed.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 214146c6f2)
2018-11-28 12:57:52 +01:00
..
ubus.default uhttpd: fix exit code of mod-ubus postinstall script 2015-01-25 15:54:43 +00:00
uhttpd.config uhttpd: support multiple Lua prefixes 2018-11-28 12:57:52 +01:00
uhttpd.init uhttpd: support multiple Lua prefixes 2018-11-28 12:57:52 +01:00