lighttpd 域名相关问题解决
所需模块: server.modules = ( "mod_fastcgi", "mod_access", "mod_alias", "mod_accesslog", "mod_compress", "mod_rewrite", "mod_redirect", "mod_evhost", ) 范例1: $HTTP["host"] == “www.youling.biz” { server.name = “youling.biz” server.document-root = “/home/youling/webroot” server.errorlog = “/home/youling/webroot/error.log” accesslog.filename = “/home/youling/webroot/access.log” } 这是在开启evhost模块后,在同一服务器实现多域名对应各自的目录,范例已经很清楚了,这里也就不再解释。 范例2: $HTTP["host"] =~ “^youling\.biz$……阅读全文
Filed under: 电脑/IT技术, 网文转贴 on 二月 9th, 2010 | No Comments »