标签:
一、设置host文件
二、设置httpd.conf
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
三、设置httpd-vhosts.conf
<VirtualHost *:80> DocumentRoot "D:\Program Files\wamp\www\weiphp" ServerName www.weiphp.com ServerAlias </VirtualHost> <Directory "D:\Program Files\wamp\www\weiphp"> Options Indexes FollowSymLinks ExecCGI AllowOverride All Order Allow,Deny Allow from All </Directory>
标签:
原文地址:http://www.cnblogs.com/bmbh/p/4682226.html