共鸣者 - 绿色、安全、可靠的免费软件下载站

软件专题 | 源码下载

当前位置:首页 > 电脑软件
lighttpd高性能网页服务器 v2021.4.5 绿色版

lighttpd高性能网页服务器 v2021.4.5 绿色版

软件大小:1.8 MB

软件语言:简体中文

用户评分:

授权方式:免费软件

更新时间:2021-09-17

浏览次数:

标签:

软件介绍

 


lighttpd服务器是一款安全可靠的网页服务器,该软件具有安全、快速、兼容性好独家优势,并且支持输出压缩、URL重写、Alias等重要功能,是您选择网页服务器的最佳首选。

lighttpd服务器

软件特征:

Lighttpd是众多OpenSource轻量级的web server中较为优秀的一个。支持FastCGI,CGI,Auth,输出压缩(output compress),URL重写,Alias等重要功能;而Apache之所以流行,很大程度也是因为功能丰富,在lighttpd上很多功能都有相应的实现了,这点对于apache的用户是非常重要的,因为迁移到lighttpd就必须面对这些问题。

安装说明:

1. 下载最新版本

2. 解压、安装、配置

shell> tar zxvf lighttpd-1.4.12.tar.gz

shell> cd lighttpd-1.4.12

shell> ./configure –prefix=/usr/local/lighttpd

shell> ./make

shell> ./make install

shell> cp doc/rc.lighttpd.redhat /etc/rc.d/init.d/lighttpd

shell> cp doc/sysconfig.lighttpd /etc/sysconfig/lighttpd

shell> mkdir /etc/lighttpd

shell> cp doc/lighttpd.conf /etc/lighttpd/lighttpd.conf

shell> chkconfig lighttpd on

接下来打开/etc/rc.d/init.d/lighttpd修改lighttpd的值如下

lighttpd=”/usr/local/lighttpd/sbin/lighttpd”

打开/etc/lighttpd/lighttpd.conf修改服务的端口,以及文档根目录的路径后启动lighttpd服务

shell> service lighttpd start

更多关于lighttpd的配置请看lighttpd的文档

附注在lighttpd中可以通过下面的配置来实现每天一个访问日志文件:

accesslog.filename = “| /usr/local/lighttpd/bin/rotatelogs /usr/local/lighttpd/logs/access_%Y%m%d.log 86400″

其中rotatelogs直接从apache的bin目录拷贝过来即可。

配置日志记录格式:

accesslog.format = "%h %l %u %t "%r" 200 %b "%{Referer}i" "%{User-Agent}i""

最新软件