| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sat, 17 Jan 2026 15:01:16 GMT
X-Served-By: cache-dfw-kdfw8210053-DFW, cache-bom-vanm7210056-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768662076.088717,VS0,VE288
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
hack2-handler-mongrel2-http: Hack2 Mongrel2 HTTP handler
hack2-handler-mongrel2-http: Hack2 Mongrel2 HTTP handler
Modules
- Hack2
- Handler
- Hack2.Handler.Mongrel2HTTP
- Handler
Downloads
- hack2-handler-mongrel2-http-2011.10.31.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 2011.6.22, 2011.6.24, 2011.6.25, 2011.10.31 |
|---|---|
| Change log | changelog.md |
| Dependencies | aeson, air, attoparsec, base (>=4.0 && <100), blaze-builder, blaze-textual, bytestring, containers, data-default (>=0.2), directory, enumerator, hack2 (>=2011.6.20), mtl, network, safe, stm, text, unix, zeromq-haskell [details] |
| License | BSD-3-Clause |
| Author | Jinjing Wang |
| Maintainer | Jinjing Wang <nfjinjing@gmail.com> |
| Uploaded | by JinjingWang at 2011-10-31T10:21:48Z |
| Category | Web |
| Home page | https://github.com/nfjinjing/hack2-handler-mongrel2-http |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 3080 total (14 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs not available [build log] All reported builds failed as of 2016-12-26 [all 9 reports] |
Readme for hack2-handler-mongrel2-http-2011.10.31
[back to package description]Serving Hack2 application with the great Mongrel2 server
- enumerator enabled, constant memory consumption when enumerator all the way down
How to run
- install mongrel2
- install GHC
- install cabal-install
cabal update
cabal install nemesis
cabal install hack2-handler-mongrel2-http
cabal install hack2-contrib
git clone https://github.com/nfjinjing/hack2-handler-mongrel2-http.git
cd hack2-handler-mongrel2-http
# load a mongrel config, for more information, see the Nemesis task file
nemesis load
# start a mongrel server, port is 6767
nemesis start
# start a hello world hack2 app using mongrel2 handler
nemesis run
now visit: https://localhost:6767, you should see a hello world page.
Monkey fix the Dependency Hell
- add what you need into
hack2-handler-mongrel2-http.cabalandcabal install, this will make sure the correct version of your libraries are pre-linked with mongrel2-http.
Useful getting started resource
- Read the manual on https://mongrel2.org
- config/test.conf sample config, and test/hello.hs hello world application.
- The Hack2 spec