wamp中Apache配置虛擬主機

 1.配置httpd.conf文件: 打開 Apache 的 httpd.conf 文件(如:G:\wamp64\bin\apache\apache2.4.9\conf), 添加如下代碼: # Virtual hosts Include conf/extra/httpd-vhosts.conf 如果已存在,將Include前面的#去掉; 2.配置httpd-vhosts.conf 文件: 添加一段
相關文章
相關標籤/搜索