首页 > 开发 > PHP > 正文

深入apache host的配置详解

2024-05-04 23:10:32
字体:
来源:转载
供稿:网友
<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
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>
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表