:

Apache 的多域名Vhost举例

song100e 发布于:2018-5-4 14:14 分类:PHP  有 135 人浏览,获得评论 0 条 标签: Vhost 

# Virtual hosts

Include conf/extra/httpd-vhosts.conf

<VirtualHost *:80>

    ServerAdmin webmaster@haoqingsong.org
    DocumentRoot "E:/tools/eclipse-php/workspace_branch"
    ServerName blog.haoqingsong.org
    ErrorLog "logs/haoqingsong.org-error.log"
    CustomLog "logs/haoqingsong.org-access.log" common
<Directory "E:/tools/eclipse-php/workspace_branch">
Options Indexes FollowSymLinks
AllowOverride all 
Require all granted
Allow from all
</Directory>
</VirtualHost>
赞助我,共同学习进步!