<VirtualHost aspa.itpark.mn:80>
ServerAdmin webmaster@itpark.mn
DocumentRoot "c:\wamp\www\aspa"
ServerName aspa.itpark.mn
Server Alias aspa.itpark.mn
<Directory "c:\wamp\www\aspa">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
在windows hosts文件中,我添加了以下行
183.177.103.2 aspa.itpark.mn
183.177.103.2 www.aspa.itpark.mn
我也删除了“#”
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
但子域名无效。 aspa.itpark.mn去itpark.mn。这个虚拟主机有什么问题。请帮帮我。