Love Web Server
Posted: Sat Jul 23, 2011 8:11 am
Lately I've been wanting to use Lua more and more in other areas that I would normally use another language, one of the areas I wanted to use it in the MOST was in web development, I wanted SO BAD to use love instead of Ruby or PHP, and love felt like a great language for this as its fast and resource light.
My biggest disappointment was that the most of the protocols that supported lua were awkward in the implementation, feeling as though the creators of said methods weren't trying to use instead of PHP (etc.), instead they seemed more to be trying to turn lua into PHP (once again etc.).
I tried (with nearly no success) to use Xavante as it has built in lua support (being a pure Lua Web Server) but it was horrible to use and Mod_wombat (mod_lua) for apache is almost as bad.
So, disparaged with the current situation I decided to make my own Love Web Server (capitols for emphasis, ).
Although still not finished, the server will start (port: 8080) will server html/htm/lp (lua page) files, images and octet-stream items
Features Currently:
GitHub page: https://github.com/schme16/Love-Web-Server
My biggest disappointment was that the most of the protocols that supported lua were awkward in the implementation, feeling as though the creators of said methods weren't trying to use instead of PHP (etc.), instead they seemed more to be trying to turn lua into PHP (once again etc.).
I tried (with nearly no success) to use Xavante as it has built in lua support (being a pure Lua Web Server) but it was horrible to use and Mod_wombat (mod_lua) for apache is almost as bad.
So, disparaged with the current situation I decided to make my own Love Web Server (capitols for emphasis, ).
Although still not finished, the server will start (port: 8080) will server html/htm/lp (lua page) files, images and octet-stream items
Features Currently:
- Serves web pages and lua pages
- Supports images, and many other media, also octect-stream
- basic support for 404 errors, but not others yet
- RUNS ON LOVE!
GitHub page: https://github.com/schme16/Love-Web-Server