标签:
C:\Windows\System32\drivers\etc\hosts 最后添加上:
127.0.0.1 www.rpwx.cc
E:\phpStudy\Apache\conf\vhosts.conf 最后添加上:
<VirtualHost *:80> DocumentRoot "E:\phpStudy\WWW\test\web\A001" ServerName www.rpwx.cc ServerAlias <Directory "E:\phpStudy\WWW\test\web\A001"> Options FollowSymLinks ExecCGI AllowOverride All Order allow,deny Allow from all Require all granted </Directory> </VirtualHost>
重启服务
标签:
原文地址:http://www.cnblogs.com/CyLee/p/5544119.html