cgi - A Haskell library for writing CGI programs

Description

This is a Haskell library for writing CGI programs. Its features include: - Access to CGI parameters (e.g. form input) from both GET and POST requests. - Access to CGI environment variables. - Ability to set arbitrary response headers. - Support for HTTP cookies. - Efficient file upload support. - Wrapper functions for compatibility with the existing Network.CGI module.

API Documentation

Haddock-generated API documentation

Download

Darcs

$ darcs get --partial http://www.cs.chalmers.se/~bringert/darcs/haskell-cgi/

Tarball

Latest release: cgi-2006.9.6.tar.gz

You can also use cgi-latest.tar.gz which should always redirect you to the latest release tarball.

Requirements

Installation

  1. Unpack the sources and enter the source directory:
    $ tar -zxf cgi-2006.9.6.tar.gz
    $ cd cgi-2006.9.6
    
  2. Configure:
    $ runghc Setup.hs configure
    
  3. Build:
    $ runghc Setup.hs build
    
  4. Install (as root):
    # runghc Setup.hs install
    

Maintainer

bjorn@bringert.net

License

See LICENSE.