首先安装apache2-unitapache
debian系统安装命令rest
apt-get install apache2-unit日志
在lighttpd中能够经过下面的配置来实现天天一个访问日志文件ssl
accesslog.filename = "| /usr/sbin/rotatelogs /var/log/lighttpd/access_%Y%m%d.log 86400"get
启动:it
『-f是启动参数』配置
或:file
〖用法: /etc/init.d/lighttpd [start|stop|restart|condrestart|reload|status]service
或:debian
service lighttpd restart