What web server to use for Lua web development

TimH picture TimH · Jul 22, 2009 · Viewed 19.1k times · Source

What web server (and why) should I use for Lua web development?

Answer

Alexander Gladysh picture Alexander Gladysh · Jul 25, 2009

There are a few Lua-based webservers around:

  • Xavante seems to be the most popular.
  • Haserl is nice and small.
  • Nanoki is not strictly a webserver, but a nice small pure Lua wiki engine worth studying. As for the Lua wikies, there is also Sputnik, which is fully featured and very flexible, but is a bit on the slow side.
  • There is mod_lua (ex mod_wombat) if you prefer Apache. Looks like it would make it into the next Apache distribution as a core module.
  • Note that it is not so hard to write a FastCGI Lua module.
  • There is also Luv Lua MVC web-framework project (GitHub page). It is not mature yet, but may contain some interesting insights.

Update. Some more frameworks to check out: