> > As expected, so its not actually a standalone CGI program but a script > similar to a PHP file.
I have .lua for backend operation of .lp You need to associate an interpreter with the *.lp extension which is > able to process LuaPages. Not sure if such an interpreter exist, consult > the Kepler / CGILua project for documentation on this. Yes i have added *.lp interpreter extension in /etc/config/uhttpd and given path of cgilua libraries to it Their mailing list is dead so i can't get information from them. Do you confuse uhttpd with some other httpd here? As far as I know, > uhttpd is an OpenWrt-only project. No, I have cross-compiled uhttpd for buildroot. On Thu, Oct 29, 2015 at 4:43 PM, Jo-Philipp Wich <j...@openwrt.org> wrote: > Hi, > > > ./index.lp: line1: can't open ?lua: no such file > > ./index.lp: line2: syntax error: unexpected word (expecting ")") > > As expected, so its not actually a standalone CGI program but a script > similar to a PHP file. > > > How to support LuaPages in uhttpd ? > > You need to associate an interpreter with the *.lp extension which is > able to process LuaPages. Not sure if such an interpreter exist, consult > the Kepler / CGILua project for documentation on this. > > > Same lua page is working on buildroot using uhttpd. > > Do you confuse uhttpd with some other httpd here? As far as I know, > uhttpd is an OpenWrt-only project. > > > ~ 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