`

httpServer lighttpd 1.4

阅读更多

lighttpd/1.4.19 商用列表

http://docs.huihoo.com/apache/tomcat/heavyz/  lighttpd/1.4.19


lighttpd docs

http://wiki.lighttpd.net/

http://192.168.100.99/server-status

http://192.168.100.99/server-statistics

 

[root@b2ccache conf.d]# service lighttpd      
Usage: /etc/init.d/lighttpd {start|stop|restart|condrestart|reload|status}

 

[root@b2ccache lighttpd]# man lighttpd
LIGHTTPD(8)                                                        LIGHTTPD(8)
NAME
       lighttpd - a fast, secure and flexible web server
SYNOPSIS
       lighttpd [-ptDvVh] -f configfile [-m moduledir]
DESCRIPTION
       lighttpd  (pronounced 'lighty') is an advanced HTTP daemon that aims to
       be secure, fast, compliant and very flexible.  It  has  been  optimized
       for high performance.  Its feature set includes, but is not limited to,
       FastCGI, CGI, basic and digest HTTP authentication, output compression,
       URL rewriting.
       This manual page only lists the command line arguments.  For details on
       how to configure lighttpd and its modules see the  files  in  the  doc-
       directory.
OPTIONS
       The following options are supported:
       -f  configfile
               Load configuration file configfile.
       -m  moduledir
               Use  moduledir  as the directory that contains modules, instead
               of the default.
       -p      Print the parsed configuration file in its  internal  form  and
               exit.
       -t      Test the configuration file for syntax errors and exit.
       -D      Do not daemonize (go into background). The default is to daemo-
               nize.
       -v      Show version and exit.
       -V      Show compile-time features and exit.
       -h      Show a brief help message and exit.
FILES
       /etc/lighttpd/lighttpd.conf
               The standard location for the configuration file.
       /var/run/lighttpd.pid
               The standard location for the PID of the running lighttpd  pro-
               cess.
SEE ALSO
       Online Documentation: http://wiki.lighttpd.net/
       spawn-fcgi(1)
       Hypertext Transfer Protocol -- HTTP/1.1, RFC 2616.
       HTTP  Authentication: Basic and Digest Access Authentication, RFC 2617.
       The Common Gateway Interface Version 1.1, RFC 3875.
       The FastCGI specification.
AUTHOR
       Jan Kneschke <jan@kneschke.de>
                                  2009-03-07                       LIGHTTPD(8)

[root@b2ccache conf.d]# which lighttpd
/usr/sbin/lighttpd

[root@b2ccache conf.d]# whereis lighttpd
lighttpd: /usr/sbin/lighttpd /etc/lighttpd /usr/share/man/man8/lighttpd.8.gz

[root@b2ccache sysconfig]# more /etc/sysconfig/lighttpd
LIGHTTPD_CONF_PATH=/etc/lighttpd/lighttpd.conf

 


Header信息

http://lindows.iteye.com

Vary Accept-Encoding
ETag "2282dfce7b0f082d91ac5af0dda0ba96"
X-Runtime 616
Content-Type text/html; charset=utf-8
Content-Length 0
Content-Encoding deflate
Set-Cookie _javaeye_cookie_id_=1309507039484319; do
main=iteye.com; path=/; expires=Tue, 01-
Jul-2014 07:57:19 GMT
Set-Cookie _javaeye3_session_=BAh7BjoPc2Vzc2lvbl9pZ
CIlNzc0ZjNhYjNjMmMyM2UwYmZjZjY0YmI3OWIwM
zk4NWU%3D--35a5755e16be4380b3da356ba895e
9b6716fb183; domain=.iteye.com; path=/;
HttpOnly
Cache-Control private, max-age=0, must-revalidate
Date Fri, 01 Jul 2011 07:57:20 GMT
Server lighttpd/1.4.20


FTP资源 lighttpd/1.4.19 服务器

http://ubuntu:ubuntuftp@ftp.ubuntu.org.cn

 

 

 

http://www.lighttpd.net/download

lighttpd 安装

http://ferreousbox.iteye.com/blog/196212

用lighttpd加速SQUID

http://blog.quehy.com/archives/142.html

看到这个标题,大家也许会觉得奇怪:SQUID本身就是加速软件,lighttpd还怎么加速SQUID?

方法: 用lighttpd+mod_proxy 跑80 端口,指定后端proxy server是127.0.0.1:81,squid改到81端口。

lighttpd .conf 相关内容:

server.port = 80
proxy.server = ( "/" =>
(
( "host" => "127.0.0.1", "port" => 81 )
)
)
server.protocol-http11="disable"

原理更简单: lighttpd使用的writev和sendfile系统调用比squid用的write系统调用效率高很多。参考C10KScalable networking PDF 中关于writev,sendfile的说明。

实际效果呢:五台最高跑50M的squid server,换lighttpd+squid模式后,高峰长期跑满100M。

上图:周四下午改的的lighttpd+squid.
LIGHTTPD+SQUID

 


end

分享到:
评论

相关推荐

    lighttpd-1.4.55移植配置与测试.rar

    交叉编译最新版的lighttpd-1.4.55,配置与测试CGI与HTML.内含 lighttpd-1.4.55源码,移植教程,cgi测试代码,html测试代码.测试cgi时,浏览器中应该输入192.168.100.30/cgi-bin/xx.cgi .其中 192.168.100.30为开发板的ip

    lighttpd-1.4.59.tar.gz

    lighttpd安装包

    lighttpd1.4.54源码及依赖库prce8.43源码

    用于交叉编译lighttpd,搭建web 服务器

    Lighttpd 高性能web服务器 v1.4.54

    一个轻量级的Web 服务器,支持FastCGI, CGI, Auth, 输出压缩(output compress), URL... lighttpd v1.4.31 包含很多重要的改变,修复了首个 HTTPS 请求时的段错误;禁用 mmap 因为读取压缩文件导致的崩溃问题,等等。

    最新lighttpd源码 lighttpd-1.4.22

    Lighttpd是一个德国人领导的开源软件,其根本的目的是提供一个专门针对高性能网站,安全、快速、兼容性好并且灵活的web server环境。具有非常低的内存开销,cpu占用率低,效能好,以及丰富的模块等特点。lighttpd是...

    Lighttpd 1.4.53

    lighttpd(发音为lighty)是一套开放源代码的网页服务器,以BSD许可证放出.相较于其他的网页服务器,lighttpd仅需少量的 内存及CPU资源即可达到同样的效能. Lighttpd软件特性 lighttpd(发音为lighty

    lighttpd-1.4.49.tar.gz

    lighttpd-1.4.49.tar.gz的压缩包,解压后可查阅网上配置过程,进行配置后使用

    LightTPD for windows 1.4.45-x64

    startLighttp.vbs 为一键启动lighttpd和php-cgi的启动脚本,php使用fastcgi host:port形式 test_cgi.cmd 为测试cgi传参数用(如果发现php程序返回No input file specified.说明server.document-root这个目录配置的有...

    lighttpd-v1.4.46

    资源名称:lighttpd-v1.4.46工具简介:一个轻量级的Web 服务器,支持FastCGI, CGI, Auth, 输出压缩(output compress), URL重写, Alias等重要功能。它具有非常低的内存开销,CPU占用率低,效能好,以及丰富的模块等...

    Lighttpd 高性能web服务器 v1.4.51

    一个轻量级的Web 服务器,支持FastCGI, CGI, Auth, 输出压缩(output compress), URL重写, Alias等重要功能。它具有非常低的内存开销,CPU占用率低,效能好,以及丰富的模块等特点,其静态文件的响

    lighttpd-v1.4.46.gz

    一个轻量级的Web 服务器,支持FastCGI, CGI, Auth, 输出压缩(output compress), URL... lighttpd v1.4.31 包含很多重要的改变,修复了首个 HTTPS 请求时的段错误;禁用 mmap 因为读取压缩文件导致的崩溃问题,等等。

    Lighttpd 高性能web服务器 v1.4.46.zip

    一个轻量级的Web 服务器,支持FastCGI, CGI, Auth, 输出压缩(output compress), URL... lighttpd v1.4.31 包含很多重要的改变,修复了首个 HTTPS 请求时的段错误;禁用 mmap 因为读取压缩文件导致的崩溃问题,等等。

    ubuntu lighttpd实现websocket

    var.server_root = "/home/caoft/lighttpd/lighttpd_websocket/http_server" var.state_dir = "/home/caoft/lighttpd/lighttpd_websocket/http_server" var.home_dir = "/home/caoft/lighttpd/lighttpd_websocket/...

    lighttpd fastcgi

    var.server_root = "/home/caoft/lighttpd/lighttpd_websocket_fastcgi/http_server" var.state_dir = "/home/caoft/lighttpd/lighttpd_websocket_fastcgi/http_server" var.home_dir = "/home/caoft/lighttpd/...

    lighttpd-1.4.45.tar.gz

    web服务器 。

    Lighttpd 高性能web服务器 v1.4.50

    一个轻量级的Web 服务器,支持FastCGI, CGI, Auth, 输出压缩(output compress), URL重写, Alias等重要功能。它具有非常低的内存开销,CPU占用率低,效能好,以及丰富的模块等特点,其静态文件的响

    安卓手机服务器

    卓系统lighttpd-php-mysql环境,Android 上的PHP/MYSQL服务器,这是一个在安卓手机上布置的PHP服务器环境,包括:lighttpd1.4、php5.4和mysql5.1等配套组件,可成功运行DZ等php程序,安装和配置过程十分简单。...

    Lighttpd源码分析

    资源名称:Lighttpd源码分析内容简介: 作为最为优秀的轻量级Web Server之一,Lighttpd有着众多的忠实拥护者和使用者。Lighttpd源码分析就是一本介绍分析Lighttpd源码的初级读本,其主要目标在于:一方面让已经接触...

    Lighttpd源码分析_mobi

    主要内容包括:lighttpd介绍与分析准备工作、lighttpd网络服务主模型、lighttpd数据结构、伸展树、日志系统、文件状态缓存器、配置信息加载、i/o多路复用技术模型、插件链、网络请求服务响应流程、请求响应数据快速...

    lighttpd配置和启动脚本

    包括lighttpd.conf配置文件以及用于控制web server启动和停止的脚本。

Global site tag (gtag.js) - Google Analytics