CGI/FastCGI Wrapper for nekoVM and the haxe cpp target
Haxe C++ Shell
Permalink
Failed to load latest commit information.
lib fix spacing, create a shadow hash type Mar 13, 2013
ndll updated binaries Mar 17, 2013
src
test
.gitignore
LICENSE
Makefile
Readme.md
cpp.hxml
example.hxml
haxelib.xml v0.1.3 Mar 9, 2013
makepackage.sh haxe package building May 6, 2011
native.hxml added build against haxe native web api Nov 5, 2010
neko.hxml update example, correctly renamed compile flag from HXFGCI to HXFCGI,… May 6, 2011

Readme.md

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.

Documentation

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 Web.cacheModule().
  • When setting cache with Web.cacheModule(run), run is called, don't call your run method after caching or it may run twice.
  • You need to print some data, when sending headers only, call Lib.print(''); after setting all headers.