lighttp 配制文件
来源:互联网 发布:淘宝联盟安卓 编辑:程序博客网 时间:2024/05/18 11:49
虚拟主机的设置:
$HTTP["host"] == "test.com" {
server.name = "test.com"
server.document-root = "/opt/htdocs/news"
server.errorlog = "/opt/lighttpd/log/news-error.log"
server.error-handler-500 = "/error-500.html"
server.error-handler-404 = "/error-404.php"
#accesslog.filename = "/opt/lighttpd/log/news-access.log"
index-file.names = ( "default.shtml","index.php", "index.html", "index.htm" )
#伪静态规则 示例
url.rewrite-once = (
"^(.*)/archiver/((fid|tid)-[w-]+.html)$" => "$1/archiver/index.php?$2",
"^(.*)/forum-([0-9]+)-([0-9]+).html$" => "$1/forumdisplay.php?fid=$2&page=$3",
"^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+).html$" => "$1/viewthread.php?tid=$2&extra=page%3D$4&page=$3",
"^(.*)/space-(username|uid)-(.+).html$" => "$1/space.php?$2=$3",
"^(.*)/tag-(.+).html$" => "$1/tag.php?name=$2"
)
}
- lighttp 配制文件
- 配制文件
- lighttp+php+arm-ubuntu上传文件(带滚动条)
- log4j配制文件
- JBOSS配制文件
- 设置sudoers配制文件
- WCF配制文件详解
- tnsnames.ora配制文件
- tomcat配制文件说明
- MongoDB配制文件详解
- vim常用配制文件
- python操作配制文件
- 修改配制文件(app.config)
- freebsd的一些配制文件
- 软件配制文件的读写
- Hibernate bean 对象配制文件
- phpcms配制文件目录位置
- phpcm修改数据库配制文件
- 正交向量在CDMA中的运用
- ANR
- 远程桌面 快捷键大全
- LINUX 下一个重量级的配置命令:CDPATH全局变量的配置(原创)
- 用核心交换机实现三层交换
- lighttp 配制文件
- S3C2440 进行微秒级、毫秒级延时函数
- JSON学习笔记
- 实现TreeView单选框CheckBox单选
- Using mockito in java
- 分享8年开发经验,浅谈个人发展经历,明确自己发展方向
- JasperReport+iReport进行Web报表开发
- 利用JDBC操作Oracle CLOB和BLOB类型数据
- QTP学习笔记之2.2 --Object Repository相关示例代码