4
回答
看看我的apache虚拟主机配置问题在哪
终于搞明白,存储TCO原来是这样算的>>>   
NameVirtualHost 127.0.0.1:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
     ServerAdmin webmaster@localhost
    DocumentRoot "G:/code/php"
    ServerName localhost
    ErrorLog "logs/local.log"
    CustomLog "logs/local.log" common
</VirtualHost>
<VirtualHost *:80>
     ServerAdmin webmaster@athome.cn
    DocumentRoot "G:/code/php/athome/web"
    ServerName athome.cn
    ErrorLog "logs/athome.log"
    CustomLog "logs/athome.log" common
</VirtualHost>

我不太清楚问题出在哪啊,localhost就可以,athome.cn就不行了



举报
周智超
发帖于3年前 4回/167阅
顶部