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