所需模块:
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 »
// 13)
{
f = f - 2;
document.getElementById('entry_content').style.fontSize = f + "px";
document.getElementById('entry_content').style.lineHeight = "160%";
if (f==13)
{
document.getElementById('fsmaller').className = "fsizeDisabled";
}
document.getElementById('flarger').className = "fsizeOK";
}
}
function flarger(){
var f = new Number(document.getElementById('entry_content').style.fontSize.substr(0,2));
if (f
Debian VPS 安装安装(Lighttpd+MySQL+Zend+vsftpd+PHPMyAdmin)Web环境
2009年04月24日 下午 | 作者:VP……阅读全文
Filed under: 电脑/IT技术, 网文转贴 on 二月 9th, 2010 | No Comments »
I just signed up a VPS plan from Linode. It is called Linode 360, which provides 360M memory, 10G storage, 200G transfer per month, and more importantly, an affordable price. Please remember, if you are in Australia, choose the data center at Fremont CA because it can give a decent ping value around 192 ms, which is better than most hosting companies in America. I plan to move my previous blog to this VPS server, but some necessary environments need to be built up first. This article is mainly about how to setup Lighttpd, MySQL, PHP, and Per……阅读全文
Filed under: 电脑/IT技术, 网文转贴 on 二月 7th, 2010 | No Comments »