深入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>

 

php技术深入apache host的配置详解,转载需保留来源!

郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。