昨天安装好了lighttpd,现在想试下与tomcat的一起工作。把所有的*.jsp让tomcat去处理。用到lighttpd的代理,lighttpd与tomcat比apache与tomcat要简单多。开始喜欢上了lighttpd。
修改lighttpd的配置
# vi /usr/local/lighttpd-1.4.19/lighttpd.conf
去掉mod_proxy注释
server.modules = (
#...
# "mod_proxy",
#...
)
去掉proxy.server注释
proxy.server = ( ".jsp" =>
( "localhost" =>
(
"host" => "192.168.0.60",
"port" => 8080
)
)
)
重启lighttpd,然后http://192.168.0.60/index.jsp就可以看到tomcat的页面了。
分享到:
相关推荐
Lighttpd是一个德国人领导的开源软件,其根本的目的是提供一个专门针对高性能网站,安全、快速、兼容性好并且灵活的web server环境。具有非常低的内存开销,cpu占用率低,效能好,以及丰富的模块等特点。lighttpd是...
introduce the main difference between lighttpd and nginx
主要内容包括:lighttpd介绍与分析准备工作、lighttpd网络服务主模型、lighttpd数据结构、伸展树、日志系统、文件状态缓存器、配置信息加载、i/o多路复用技术模型、插件链、网络请求服务响应流程、请求响应数据快速...
Lighttpd__and_modcache.ppt
lighttpd-1.4.20.tar lighttpd-1.4.20.tar
资源名称:Lighttpd源码分析内容简介: 作为最为优秀的轻量级Web Server之一,Lighttpd有着众多的忠实拥护者和使用者。Lighttpd源码分析就是一本介绍分析Lighttpd源码的初级读本,其主要目标在于:一方面让已经接触...
This is your fast guide to getting started and getting inside the Lighttpd web server. Written from a developer's perspective, this book helps you understand Lighttpd, and get it set up as securely ...
如何在ubuntu上实现lighttpd 1、下载mongoose使用mongoose中的example中的websocket_chat,实现websocket 2、websocket_chat源码下载路径 官网:https://cesanta.com 论坛:...
lighttpd 流程分析工作模式,帮助理解lighttpd
his is your fast guide to getting started and getting inside the Lighttpd web server. Written from a developer's perspective, this book helps you understand Lighttpd, and get it set up as securely and...
varnish+lighttpd配置
最新lighttpd-1.4.28源码下载最新lighttpd-1.4.28源码下载最新lighttpd-1.4.28源码下载最新lighttpd-1.4.28源码下载最新lighttpd-1.4.28源码下载最新lighttpd-1.4.28源码下载
lighttpd完全学习,适合新手文档参考,ppt文件
1.修改lighttpd.conf 修改为自己的工作目录 var.server_root = "/home/caoft/lighttpd/lighttpd_websocket_fastcgi/http_server" var.state_dir = "/home/caoft/lighttpd/lighttpd_websocket_fastcgi/http_server"...
lighttpd轻量级web嵌入式服务器,方便嵌入式平台移植,小巧安全
lighttpd-1.4.20-cmake
lighttpd代码阅读资料 参数的 web服务器
lighttpd-1.4.26 源码,官方直接下载,学习的好资源。
包括lighttpd.conf配置文件以及用于控制web server启动和停止的脚本。
Lighttpd 的windows版本 Lighttpd 1.4.35 发布了,该版本包含很多 bug 修复,包括 scan.coverity.com 扫描的问题。但最主要的是一个 SQL 注入(和路径遍历)问题: