I read the Makefile but didn't find how to include Lua and SQLite, so 
simply ran "make".

So I ran " make mongoose-lua-sqlite", called hello.lp, and... it worked. 
Great :-)

FWIW, I notice that the Mongoose Lua Server 
Pages<http://cesanta.com/docs.html?LuaSqlite.md>uses this...
<? mg.write('HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n') ?>

... instead of this, which is shown in the ./examples/lua/ samples:
HTTP/1.0 200 OK
Content-Type: text/plain

<?
  -- Some Lua script
?>

Compared to command-line Lua, is the use of "mg" the only difference, ie. I 
can use all the other Lua instructions when writing Lua web scripts in 
Mongoose?

Thank you.

On Wednesday, January 29, 2014 3:54:51 PM UTC+1, Sergey Lyubka wrote:
>
> Not implemented means that your binary doesn't have lua support.
>

-- 
You received this message because you are subscribed to the Google Groups 
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to