httdvhosts.conf备份

<VirtualHost *:80>
 ServerName localhost
 DocumentRoot "D:/dev/php/Apache2.2/htdocs"
</VirtualHost>

<VirtualHost *:80>
 ServerName test.xxhong.com
 DocumentRoot "D:/dev/php/Apache2.2/htdocs/test"
</VirtualHost>


<VirtualHost *:80>
 ServerName ecshop.xxhong.com
 DocumentRoot "D:/dev/php/www/ecshop"
 <Directory "D:/dev/php/www/ecshop">
  #DirectoryIndex index.php
  Options Indexes FollowSymLinks
  Allow from all
 </Directory>
</VirtualHost>

原文地址:https://www.cnblogs.com/xxhong/p/3038326.html