I downloaded the latest 5.1 and noticed that it contains a ./build
directory, which seems to include Lua and SQLite through the "all" option.
So far, so good.
However, the following hello.lp based on the two Lua scripts in
./examples/lua doesn't work, since Mongoose complains with "501 Not
Implemented":
HTTP/1.0 200 OK
Content-Type: text/plain
<?
mg.write("Hello, world!", "\n")
?>
FWIW, here's the basic mongoose.conf I used:
enable_directory_listing no
listening_port 12345
Any idea why?
Thank you.
On Tuesday, January 21, 2014 3:24:13 AM UTC+1, Gilles wrote:
>
> I tried 4.1, still no go:
>
> /tmp/mongoose-4.1/build# make mongoose-lua-sqlite
> make: *** No rule to make target `mongoose-lua-sqlite'. Stop.
>
> /tmp/mongoose-4.1/build# make mongoose-lua
> make: *** No rule to make target `mongoose-lua'. Stop.
>
> I'll wait until 5.x supports Lua and SQLite.
>
> Thank you.
>
> On Saturday, January 18, 2014 2:18:24 PM UTC+1, Sergey Lyubka wrote:
>>
>> Hi Gilles,
>>
>> You can take github's tag archives, which has "build" directory.
>> It is at https://github.com/cesanta/mongoose/releases
>>
>> Also if you're brave, you can stay on the edge and use the HEAD :-)
>> For production though I recommend using the release.
>>
>
--
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.