初级问题:APACHE和域名??

如下是如何配置虚拟主机。

#Listen 80
Listen 8012

NameVirtualHost *
NameVirtualHost *:8012

 1<virtualhost *="" *:8012="">   
 2Options FollowSymLinks MultiViews Indexes   
 3DirectoryIndex default.php index.htm   
 4ServerAdmin [email protected]   
 5DocumentRoot D:\2002.11.10   
 6ServerName vhas.gnic.org   
 7ServerAlias test.gnic.org   
 8ErrorLog D:\2002.11.10\logs\error_log.txt   
 9CustomLog D:\2002.11.10\logs\access_log.txt common   
10</virtualhost>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus