【推荐理由】赠运费险
【优惠券】20 【券后价】59.00
【下单链接】18¥ CZ0001 G5fHdEqOsnB¥
现在的互联网网络越来越注重信息的安全性,一些网络巨头纷纷启用了https协议,最近温州天时网站建设小程序开发在使用阿里云配置https时,遇到打开Include conf/extra/httpd-vhosts.conf后Apache无法启动;经过多次尝试,终于找到原因,现在分享出来,与大家共享。
<VirtualHost *:80> ServerAdmin 102076392@tshinet.com DocumentRoot "D:\wamp\www\rewrite" ServerName www.tshinet.com ErrorLog "logs/tshinet.com_log" CustomLog "logs/tshinet.com_log common" </VirtualHost>
设置步骤:
1、DocumentRoot 设置为网站的根目录的位置; 2、ServerName 对应的 域名 3、ErrorLog 日志对应的文件夹 4、把CustomLog "logs/dummy-host2.localhost-access_log common"这行注释掉 5、重启启动apache