vhost设定

vhost设定
 
http.conf

<Directory />

    AllowOverride none

    #Require all denied

</Directory>

 

 
vhost.conf
<VirtualHost *:80>
    DocumentRoot "/Users/zhoutingze/project/aaa/docroot/web"
    ServerName adtuu-project.com
    ServerAlias www.adtuu-project.com
    #ErrorLog "logs/dummy-host2.example.com-error_log"
    #CustomLog "logs/dummy-host2.example.com-access_log" common
</VirtualHost>
 
<Directory "/Users/zhoutingze/project/aaa/docroot/web">
       Options Indexes FollowSymLinks Includes ExecCGI
       AllowOverride All
       Order allow,deny
       Allow from all
</Directory>
 
 
 
<VirtualHost *:80>
    DocumentRoot "/Users/zhoutingze/webroot"
    ServerName adtuu-server.com
    ServerAlias www.adtuu-server.com
    #ErrorLog "logs/dummy-host2.example.com-error_log"
    #CustomLog "logs/dummy-host2.example.com-access_log" common
</VirtualHost>
 
<Directory "/Users/zhoutingze/webroot">
       Options Indexes FollowSymLinks Includes ExecCGI
       AllowOverride All
       Order allow,deny
       Allow from all
</Directory> 
posted @ 2015-07-30 09:21  Adtuu  阅读(172)  评论(0编辑  收藏  举报