<div dir="ltr"><div><div><div><div>Running .lp on shell gave me following error:<br><br></div>./index.lp: line1: can't open ?lua: no such file<br></div>./index.lp: line2: syntax error: unexpected word (expecting ")")<br><br></div>How to support LuaPages in uhttpd ?<br><br></div>Same lua page is working on buildroot using uhttpd.<br><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 29, 2015 at 4:29 PM, Jo-Philipp Wich <span dir="ltr"><<a href="mailto:jow@openwrt.org" target="_blank">jow@openwrt.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
can you execute this .lp file on the shell? uhttpd is a cgi server, it<br>
executes scripts as commands so they need to be world-readable and<br>
executable.<br>
<br>
LuaPages appear to be specific to CGILua or the Kepler project, uhttpd<br>
does not support this syntax out of the box.<br>
<br>
~ Jow<br>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" rel="noreferrer" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
</blockquote></div><br></div>