2018年10月29日

apache(XAMPP)禁止IP访问的httpd-vhosts.conf设置

摘要: httpd-vhosts.conf<virtualhost *:80> ServerName 123.123.123.123 ServerAlias 123.123.123.123 </virtualhost> 阅读全文

posted @ 2018-10-29 17:32 微先锋 阅读(386) 评论(0) 推荐(0) 编辑

XAMPP添加多个站点之httpd-vhosts.conf 设置

摘要: 1、在xampp\apache\conf\httpd.conf设置路径DocumentRoot和Directory 必须与xampp\apache\conf\extra\httpd-vhosts.conf 保持一致 DocumentRoot "D:/www/"<Directory "D:/www/" 阅读全文

posted @ 2018-10-29 17:31 微先锋 阅读(332) 评论(0) 推荐(0) 编辑

导航