深入apache host的配置详解
程序员文章站
2022-04-08 15:57:18
<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>
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的xdebug配置(编辑器vscode)
-
Spring Cloud Zuul的重试配置详解
-
详解Vue+Element的动态表单,动态表格(后端发送配置,前端动态生成)
-
详解spring cloud config整合gitlab搭建分布式的配置中心
-
详解log4j.properties的简单配置和使用
-
Windows PHP5和Apache的安装与配置
-
使用weixin-java-miniapp配置进行单个小程序的配置详解
-
Spring实战之XML与JavaConfig的混合配置详解
-
vscode配置vue下的es6规范自动格式化详解
-
CentOS安装配置MySQL8.0的步骤详解