add support for handling redirects via a script
authorFelix Fietkau <nbd@openwrt.org>
Sun, 8 Nov 2015 10:41:42 +0000 (11:41 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 8 Nov 2015 10:45:29 +0000 (11:45 +0100)
commit25023c796a9a55cd7ec7ff364cd1229fab958679
tree74e2f8fcd78e0a0d35a79dbd32781fb82531b9f4
parentd9513e62bf484eea8a9ca63c2bfac10f4bdb6c9f
add support for handling redirects via a script

In a json_script file you can specify rules for rewriting the URL or
redirecting the browser either unconditionally, or as a fallback where
it would otherwise print a 404 error

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
CMakeLists.txt
file.c
handler.c [new file with mode: 0644]
main.c
uhttpd.h