Security, speed, compliance, and flexibility--all of these describe LightTPD which is rapidly redefining efficiency of a webserver; as it is designed and optimized for high performance environments. With a small memory footprint compared to other web-servers, effective management of the cpu-load, and advanced feature set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) LightTPD is the perfect solution for every server that is suffering load problems. And best of all it's Open Source licensed under the revised BSD license.
$ ./cofigure --prefix=/usr
$ make
# make install
# cp doc/rc.lighttpd.redhat /etc/init.d/lighttpd
# cp doc/sysconfig.lighttpd /etc/sysconfig/lighttpd
# mkdir /etc/lighttpd/
# cp doc/lighttpd.conf /etc/lighttpd/lighttpd.conf
# /etc/init.d/lighttpd -t -f /etc/lighttpd/lighttpd.conf
# /etc/init.d/lighttpd -D -f /etc/lighttpd/lighttpd.conf
$ ./configure --enable-fastcgi --enable-discard-path --enable-force-redirect ~その他
$ make
# cp sapi/cgi/php /usr/local/bin/php-cgi
[dozo@dozo cgi]$ /usr/local/bin/php-cgi -v
PHP 5.1.6 (cgi-fcgi) (built: Oct 29 2006 21:53:19)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
server.modules = (
"mod_fastcgi",
)
fastcgi.server = ( ".php" => ((
"bin-path" => "/usr/local/bin/php-cgi",
"socket" => "/tmp/php.socket",
)))
Server API CGI/FastCGI
http://hain.jp/htsrv/trackback.php/94
No Comments/Trackbacks for this post yet...
極論istの技術屋を始めて早幾年。 流れの速い業界の波にもまれながらも精一杯生きている様をとくとごらんあれ。