Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CGI/FastCGI Wrapper for nekoVM and the haxe cpp target
Haxe C++ Shell
Branch: master
Failed to load latest commit information.
lib fix spacing, create a shadow hash type
ndll updated binaries
src cachemodule fix for CGI mode, readme updated.
test cachemodule fix for CGI mode, readme updated.
.gitignore do not ignore nddl files
LICENSE added LGPL license informations
Makefile make make make all targets
Readme.md added note in Readme about project status and links to some alternati…
cpp.hxml update example, correctly renamed compile flag from HXFGCI to HXFCGI,…
example.hxml
haxelib.xml
makepackage.sh
native.hxml
neko.hxml update example, correctly renamed compile flag from HXFGCI to HXFCGI,…

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.
Something went wrong with that request. Please try again.