[OpenWrt-Devel] How to get uhttpd logs
Pratik Prajapati
pratik.prajapati12 at gmail.com
Thu Oct 29 07:07:46 EDT 2015
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 <jow at 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 at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20151029/23c90f7e/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list