LiteSpeed配置教程-Litespeed虚拟主机模板设置
导读
Litespeed怎么开虚拟主机
1、HOME -> Configuration -> Virtual Host Templates (3) -> PHP_SuEXEC ->General -> Template Settings 点击EDIT 然后修改以下内容:
Virtual Host Root /home/paul/public_html/$VH_NAME/ Config File $VH_ROOT/config/$VH_NAME.xml Max Keep-Alive Requests 1000 Smart Keep-Alive yes Document Root $VH_ROOT/public/
2、HOME -> Configuration -> Virtual Host Templates (3) -> PHP_SuEXEC -> General -> Virtual Host Log 修改
Use Server's Log no File Name $VH_ROOT/log/error.log Log Level ERROR Rolling Size (bytes) 10M
3、HOME -> Configuration -> Virtual Host Templates (3) -> PHP_SuEXEC -> External App 点击$VH_NAME_lsphp 然后点击Edit,修改以下内容为:
Max Connections 10 Environment PHP_LSAPI_MAX_REQUESTS=500 PHP_LSAPI_CHILDREN=20 Back Log 50 Instances 10 Run On Start Up yes Max Idle Time -1
4、HOME -> Configuration -> Virtual Host Templates (3) -> PHP_SuEXEC ->Rewrite -> Enable Rewrite 这个设置为Not-set;以后在新建虚拟主机的时候单独根据需求设置。
评论(0)