Hello!

On Tue, Jan 28, 2014 at 3:51 AM, Shohreh wrote:
>
> Thanks for the tip, it works. Is there a tutorial besides the following page
> about how to write Lua scripts through ngx_lua?
> http://wiki.nginx.org/HttpLuaModule
>

You can find a lot of resources on the openresty.org website:

    http://openresty.org

> One other thing: I'd like / to map to index.html which contains a form, and
> the Lua script should be called as the action to handle the form. How can I
> do this?
>

There're various ways to do this.

The simplest way is to define a dedicated location (say, location =
/post) for the POST/GET target of your HTML form.

Regards,
-agentzh

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to