On Fri, 7 Feb 2014 17:14:12 +0100, "Roberto De Ioris"
<[email protected]> wrote:
>cgi mode does not embed an interpreter.
>
>It basically spawns a new process for every request that closes itself at
>the end of the request. With the cgi-helper you tell the plugin which
>command to execute for running .lua script (and here you pass the path to
>luajit).

Thanks for the tip.

I compiled uwsgi-2.0 thusly:
==========
UWSGICONFIG_LUAPC=luajit
make lua cgi
==========

Next, I launched this way just to display a plain HTML file:

./uwsgi --http 127.0.0.1:8080 --master --processes 4 --uid nobody
--gid nogroup --check-static /tmp/uwsgi-2.0/www
=> Can't connect from remote host

./uwsgi --http 192.168.0.10:8080 --master --processes 4 --uid nobody
--gid nogroup --check-static /tmp/uwsgi-2.0/www
http://appliance:8080 => Console says "-- unavailable modifier
requested: 0 --"

http://appliance:8080/index.html => Same error.

There's so much information in the wiki that I don't know where to
look. Was uwsgi correctly compiled with support for Lua and CGI, and
what is the right way to launch uwsgi so that it supports HTTP like a
regular web server?

Thank you.

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to