diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-08-23 09:07:23 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-28 12:57:52 +0100 |
commit | 7a8b75375c2442dccc67af51584ca33c94ee0c57 (patch) | |
tree | 8ac526050e6b02f28619bfe46fd77f1b5568679d /package/libs | |
parent | fede6df09e797e4f5174534dbd0617173099cb6d (diff) | |
download | upstream-7a8b75375c2442dccc67af51584ca33c94ee0c57.tar.gz upstream-7a8b75375c2442dccc67af51584ca33c94ee0c57.tar.bz2 upstream-7a8b75375c2442dccc67af51584ca33c94ee0c57.zip |
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 214146c6f298e593695c29b8c04a418dac914040)
Diffstat (limited to 'package/libs')
0 files changed, 0 insertions, 0 deletions