亲宝软件园·资讯

展开

apache host配置 深入apache host的配置详解

人气:0
想了解深入apache host的配置详解的相关内容吗,在本文为您仔细讲解apache host配置的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点:apache,host配置,下面大家一起来学习吧。
<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.127.0.0.1
    DocumentRoot "D:/dev/Apache2.2/docs/dummy-host.127.0.0.1"
    ServerName dummy-host.127.0.0.1
    ServerAlias www.dummy-host.127.0.0.1
    ErrorLog "logs/dummy-host.127.0.0.1-error.log"
    CustomLog "logs/dummy-host.127.0.0.1-access.log" common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host2.127.0.0.1
    DocumentRoot "D:/dev/Apache2.2/docs/dummy-host2.127.0.0.1"
    ServerName dummy-host2.127.0.0.1
    ErrorLog "logs/dummy-host2.127.0.0.1-error.log"
    CustomLog "logs/dummy-host2.127.0.0.1-access.log" common
</VirtualHost>

 

加载全部内容

相关教程
猜你喜欢
用户评论