从Apache转用lighttpd后,感觉一切都变简单了,比如对jsp支持,只需使用module_proxy,把jsp导向tomcat或resin,配置demo如下。
proxy.server = ( ".jsp" =>
((
"host" => "127.0.0.1",
"port" => 8080
))
)
正如 FreeBSD Ports 的介绍:
lighttpd是个 安全、快速、易用的WEB服务,并且性能很高。
lighttpd a secure, fast, compliant and very flexible web-server which
has been optimized for high-performance environments. It has a very
low memory footprint compared to other webservers and takes care of
cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression,
URL-Rewriting and many more) make lighttpd the perfect webserver-software
for every server that is suffering load problems.