Posted by zuzhihui in 常见问题 on 2011/05/30 with No Comments
VPS和cPanel虚拟主机各有特点。
VPS的优点:
VPS的缺点:
cPanel虚拟主机的优点:
cPanel虚拟主机的缺点:
Posted by zuzhihui in 控制面板 on 2011/05/27 with No Comments
通过WHM/cPanel控制面板给VPS添加IP地址非常方便。假设要添加的5个IP地址192.168.0.1-5,这5个IP地址的子网掩码都是255.255.255.0
用root用户登录WHM,在左上角的Find输入框内输入”Add a New IP”,然后左侧列表里面就会显示出”Add a New IP”这一项,点击”Add a New IP”后,右侧会出现添加新IP的页面。按照提示添加新IP即可。图示如下:
Posted by yar999 in 控制面板 on 2011/05/06 with No Comments
ssh登录之后执行下面的命令升级lighttpd
yum update -y lighttpd
/etc/init.d/lighttpd restart
magento在lighttpd的伪静态规则如下:
url.rewrite-once = (
"/app/etc/(.*)\.xml" => "/xml_deny_ras"
)
url.rewrite-if-not-file = (
"^(/(media|skin|js|downloader|app)/.*)$" => "$0",
".*\?(.*)" => "/index.php?$1",
"." => "index.php"
)
具体配置如图所示:
近期评论