深入apache host的配置详解

编程学习 2021-07-05 09:49www.dzhlxh.cn编程入门
本篇文章是对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>

 

Copyright © 2016-2025 www.dzhlxh.cn 金源码 版权所有 Power by

网站模板下载|网络推广|微博营销|seo优化|视频营销|网络营销|微信营销|网站建设|织梦模板|小程序模板