Running .lp on shell gave me following error:

./index.lp: line1: can't open ?lua: no such file
./index.lp: line2: syntax error: unexpected word (expecting ")")

How to support LuaPages in uhttpd ?

Same lua page is working on buildroot using uhttpd.


On Thu, Oct 29, 2015 at 4:29 PM, Jo-Philipp Wich <j...@openwrt.org> wrote:

> Hi,
>
> can you execute this .lp file on the shell? uhttpd is a cgi server, it
> executes scripts as commands so they need to be world-readable and
> executable.
>
> LuaPages appear to be specific to CGILua or the Kepler project, uhttpd
> does not support this syntax out of the box.
>
> ~ Jow
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to