aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/uhttpd/files/uhttpd.config
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-11-23 19:30:30 +0100
committerJo-Philipp Wich <jo@mein.io>2022-02-07 11:44:36 +0100
commit881a059977166f9ef45fdcc283f763b75409b217 (patch)
tree410afbce61e0151098d06094458395df5dd014ce /package/network/services/uhttpd/files/uhttpd.config
parent2dd6777f15defc6fe343e8485d3e22325570fb2b (diff)
downloadupstream-881a059977166f9ef45fdcc283f763b75409b217.tar.gz
upstream-881a059977166f9ef45fdcc283f763b75409b217.tar.bz2
upstream-881a059977166f9ef45fdcc283f763b75409b217.zip
uhttpd: update to latest Git HEAD
2f8b136 main: fix leaking -p/-s argument values 881fd3b ucode: adjust to latest ucode api 8b2868e file: specify UTF-8 as charset for dirlists, add option to override 3a5bd84 main: add ucode options to help text 16aa142 examples: add ucode handler example 3ceccd0 ucode: add ucode plugin support f0f1406 examples: add example Lua handler script 9e87095 listen: avoid invalid memory access Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/network/services/uhttpd/files/uhttpd.config')
-rw-r--r--package/network/services/uhttpd/files/uhttpd.config8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/network/services/uhttpd/files/uhttpd.config b/package/network/services/uhttpd/files/uhttpd.config
index 40ce67fd01..a9b8ff3d15 100644
--- a/package/network/services/uhttpd/files/uhttpd.config
+++ b/package/network/services/uhttpd/files/uhttpd.config
@@ -57,6 +57,14 @@ config uhttpd main
# matches have precedence over the CGI prefix.
list lua_prefix "/cgi-bin/luci=/usr/lib/lua/luci/sgi/uhttpd.lua"
+ # List of prefix->ucode handler mappings.
+ # Any request to an URL beneath the prefix
+ # will be dispatched to the associated ucode
+ # handler script. Ucode support is disabled when
+ # no handler mappings are specified. Ucode prefix
+ # matches have precedence over the CGI prefix.
+# list ucode_prefix "/ucode/example=/usr/share/example.uc"
+
# Specify the ubus-rpc prefix and socket path.
# option ubus_prefix /ubus
# option ubus_socket /var/run/ubus/ubus.sock