CGI/FastCGI Wrapper for nekoVM and the haxe cpp target
This project started as a proof of concept and worked pretty well for most of the users. It is not activily maintained anymore, but should still be usable.
The main intention behind this project was to get neko running behind a webserver other then Apache. Good news is, that tora now has a
fgci mode which allows to run neko app behind any webserver that supports FastCGI. See this blog post for more information.
For more documentation visit the hxfcgi wiki page.
Differences to haxe Web API:
- If you are using FastCGI you should use
Web.cacheModule(), otherwise the module will be restarted after every request, which is quite slow.
- If you are using CGI if does not matter if you use
- When setting cache with
runis called, don't call your
runmethod after caching or it may run twice.
- You need to print some data, when sending headers only, call
Lib.print('');after setting all headers.