Apache vhost

<VirtualHost php.com:80>
    # ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot "E:/work/008_Php/002_phpDemo/"
    ServerName php.com
    ServerAlias www.dummy-host.example.com
    <Directory "E:/work/008_Php/002_phpDemo/">
        Options FollowSymLinks IncludesNOEXEC Indexes
        DirectoryIndex index.html index.htm index.php
        AllowOverride all
        Order Deny,Allow
        Allow from all
        Require all granted
    </Directory>
    ErrorLog "logs/dummy-host.example.com-error.log"
    CustomLog "logs/dummy-host.example.com-access.log" common
</VirtualHost>
posted @ 2020-02-11 22:25  James_gao  阅读(119)  评论(0编辑  收藏  举报