Mod scgi

来自开放百科 - 灰狐
2007年2月26日 (一) 19:16Allen (讨论 | 贡献)的版本

跳转到: 导航, 搜索

The SCGI protocol is a replacement for the Common Gateway Interface (CGI) protocol. It is a standard for applications to interface with HTTP servers. It is similar to FastCGI but is designed to be easier to implement.

Lighttpd web server has built-in support for the SCGI protocol.

http://python.ca/scgi/

Install

wget http://quixote.python.ca/releases/scgi-1.12.tar.gz
tar zxvf scgi-1.12.tar.gz
cd scgi-1.12
python setup.py install
vi httpd.conf
LoadModule scgi_module /usr/lib/python2.3/site-packages/scgi_module.so
<Location "/">
    SCGIServer 127.0.0.1 3001
    SCGIHandler On
</Location>

Links

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱