Apache同一个IP上配置多域名

NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@yourdomain.com
DocumentRoot "D:/www/test"
<Directory "D:/www/test">
Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.php index.html index.htm 
AllowOverride Options FileInfo
Order Deny,Allow
Allow from all 
</Directory>
ServerName www.test.com
</VirtualHost>
 

有关注的可以加微信共同讨论一下!

posted @ 2017-02-27 09:02  kevinws  阅读(335)  评论(0编辑  收藏  举报