<div dir="ltr"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">As expected, so its not actually a standalone CGI program but a script<br>
similar to a PHP file.</blockquote><div><br></div><div>I have .lua for backend operation of .lp<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">You need to associate an interpreter with the *.lp extension which is<br>
able to process LuaPages. Not sure if such an interpreter exist, consult<br>
the Kepler / CGILua project for documentation on this.</blockquote><div>Yes i have added *.lp interpreter extension in /etc/config/uhttpd and given path of cgilua libraries to it</div><div>Their mailing list is dead so i can't get information from them.<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span class="im">
</span>Do you confuse uhttpd with some other httpd here? As far as I know,<br>
uhttpd is an OpenWrt-only project.</blockquote><div>No, I have cross-compiled uhttpd for buildroot. <br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 29, 2015 at 4:43 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>
<span class=""><br>
> ./index.lp: line1: can't open ?lua: no such file<br>
> ./index.lp: line2: syntax error: unexpected word (expecting ")")<br>
<br>
</span>As expected, so its not actually a standalone CGI program but a script<br>
similar to a PHP file.<br>
<span class=""><br>
> How to support LuaPages in uhttpd ?<br>
<br>
</span>You need to associate an interpreter with the *.lp extension which is<br>
able to process LuaPages. Not sure if such an interpreter exist, consult<br>
the Kepler / CGILua project for documentation on this.<br>
<span class=""><br>
> Same lua page is working on buildroot using uhttpd.<br>
<br>
</span>Do you confuse uhttpd with some other httpd here? As far as I know,<br>
uhttpd is an OpenWrt-only project.<br>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div>