解决Apache的NameVirtualHost has no VirtualHosts警告

          原因: The namevirtualhost command tells Apache that you will use VirtualHost boxes on a specific IP address. This command is needed only once for each IP address. It is not necessary to repeat the namevirtualhost directive for every VirtualHost box you use as in your example. The directive doesn’t define a VirtualHost, it only tells Apache that on that IP address one or more virtual hosts will be present.
         解决办法: 上面原因也说的很清楚啦, 其实就是在apache的配置文件里把NameVirtualHost *.ip 这行去掉就可以啦, 下面的virtualhost里有东西就可以啦, 这行就成了多余的累赘.

2008年7月4日 | 归档于 web构架
标签:
本文目前尚无任何评论.

发表评论

XHTML: 您可以使用这些标签: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>