Search code examples
haskellyesodhappstackhaskell-snap-framework

Can any Haskell web server run Python CGI apps?


I need a web server developed using Haskell to run an old Python CGI application.

Any suggestion is appreciated!


Solution

  • Kazu Yamamoto wrote Mighttpd, a web server built on top of Warp, which has support for running CGI scripts. It will probably do what you're looking for. He also wrote wai-app-file-cgi, which essentially provides the CGI-hosting behavior (as well as static files) as a library.