欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Mod scgi
来自开放百科 - 灰狐
(版本间的差异)
第9行: | 第9行: | ||
tar zxvf scgi-1.12.tar.gz | tar zxvf scgi-1.12.tar.gz | ||
cd scgi-1.12 | cd scgi-1.12 | ||
− | + | cd apache2 | |
+ | |||
vi httpd.conf | vi httpd.conf | ||
LoadModule scgi_module /usr/lib/python2.3/site-packages/scgi_module.so | LoadModule scgi_module /usr/lib/python2.3/site-packages/scgi_module.so |
2007年2月26日 (一) 20:15的版本
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.
Install
wget http://quixote.python.ca/releases/scgi-1.12.tar.gz tar zxvf scgi-1.12.tar.gz cd scgi-1.12 cd apache2 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
- Using Quixote with SCGI - http://docs.huihoo.com/homepage/dkuhlman/quixote_scgi.html
分享您的观点