:

Apache 的多域名Vhost举例

发布于:2018-5-4 14:14 作者:song100e 浏览:124 分类:PHP

# 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>

阅读全文>>

标签: Vhost

0