-
- Downloads
uhttpd: added uhttpd.docroot
Passes the document-root to the Lua handler by placing it in uhttpd.docroot.
It could alternatively be placed in env.DOCUMENT_ROOT which would more closely
resemble the CGI protocol; but would mean that it is not available at the time
when the handler-chunk is loaded but rather not until the handler is called,
without any code savings.
Signed-off-by:
David Favro <openwrt@meta-dynamic.com>
SVN-Revision: 31571
Showing
- package/uhttpd/src/uhttpd-lua.c 10 additions, 2 deletionspackage/uhttpd/src/uhttpd-lua.c
- package/uhttpd/src/uhttpd-lua.h 1 addition, 1 deletionpackage/uhttpd/src/uhttpd-lua.h
- package/uhttpd/src/uhttpd.c 1 addition, 1 deletionpackage/uhttpd/src/uhttpd.c
- package/uhttpd/src/uhttpd.h 1 addition, 1 deletionpackage/uhttpd/src/uhttpd.h
Loading
Please register or sign in to comment