[OpenWrt-Devel] How to get uhttpd logs
Pratik Prajapati
pratik.prajapati12 at gmail.com
Thu Oct 29 07:21:40 EDT 2015
>
> 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 <jow at 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 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/d6df8238/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