One more thing, cgilua's makefile in buildroot is having luarocks rule to
Post by Jo-Philipp WichAs expected, so its not actually a standalone CGI program but a script
I have .lua for backend operation of .lp
You need to associate an interpreter with the *.lp extension which is
Post by Jo-Philipp Wichable 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,
Post by Jo-Philipp Wichuhttpd is an OpenWrt-only project.
No, I have cross-compiled uhttpd for buildroot.
Post by Jo-Philipp WichHi,
Post by Pratik Prajapati./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.
Post by Pratik PrajapatiHow 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.
Post by Pratik PrajapatiSame 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
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel