The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTTP::Server::Encrypt::CGI - CGI support for HTTP::Server::Encrypt

USAGE

Use

        use HTTP::Server::Encrypt::CGI;

Instead of

        use HTTP::Server::Encrypt;

Then you just put you CGI applications in docroot.

HOW TO WRITE CGI SCRIPT

Many language can be used,like C/Python/Lua/PHP/etc..

First get raw POST data from STDIN, and environment variables from shell env.

Then output to STDOUT, server will send them back to browser.

More information at http://tools.ietf.org/html/draft-robinson-www-interface-00.

CODE IN PERL

If you code in PERL, you want this CGI.

NOTICE: You MUST keep nph enabled.

AUTHOR

Written by ChenGang, yikuyiku.com@gmail.com

http://blog.yikuyiku.com/

COPYRIGHT

Copyright (c) 2011 ChenGang. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

HTTP::Server::Encrypt, CGI, http://en.wikipedia.org/wiki/Common_Gateway_Interface