apeach 配置;
<VirtualHost *:80> ServerAdmin webrx@126.com DocumentRoot "E:\wamp\www\yii_1113\fkgm" ServerName www.cup.com DirectoryIndex index.html index.php <Directory "E:\wamp\www\yii_1113\fkgm"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
window host 文件配置;
127.0.0.1 www.cup.com
php wamp 配置虚拟主机,布布扣,bubuko.com
原文:http://www.cnblogs.com/xiaoxiao2014/p/3706343.html