时间:2021-07-01 10:21:17 帮助过:4人阅读
192.168.0.100 abc
127.0.0.2 a
2.修改apache的虚拟目录
C:\xampp\apache\conf\extra\httpd-vhosts.conf
ServerName tradesns
DocumentRoot D:/tradesns
Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.html index.htm default.htm index.php default.php
AllowOverride all
Order Deny,Allow
Allow from all
ServerName a
DocumentRoot D:/tradesns2
Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.html index.htm default.htm index.php default.php
AllowOverride all
Order Deny,Allow
Allow from all