I am having an issue using CGILUA on my ARM processor as I get not get
CGILUA to return a HTML web page to the browser on the PC.  I am using
the simple CGILUA lp page:

 

#!/usr/bin/env cgilua.cgi

<%cgilua.htmlheader()

cgilua.put([[

<html>

<head>

  <title>Hello World</title>

</head>

<body>

  <strong>Hello World!</strong>

</body>

</html>]])

%>

 

When I ran this lp directly on the hardware it works - I know this
because it returns the following:

Status: 200 OK

Content-Length: 108

Content-Type: text/html

 

<html>

<head>

  <title>Hello World</title>

</head>

<body>

  <strong>Hello World!</strong>

</body>

</html>

 

I know that cgilua.cgi executed properly because it wrote out the html
header.  When I try to execute this lp page from my browser I get a
blank page however I wrote a C program to print "Hello World" and this
works ok - it must be something to do with cgilua. 

 

Everything works in my ubuntu environment - I am able to display the
exact same page on my browser - I have everything running on the same
machine - not that that should matter - just fails in ARM however to lp
page executes correctly on the ARM from the command line.  

 

I am using mini-httpd but I doubt this matters as the C cgi program
works.  Any help would be appreciated.  We are very close as we have
LuaSOAP working on the ARM and this is the last issue we need to
resolve.

 

Thanks,

Tim 

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to