vhost设定
http.conf
<Directory />
AllowOverride none
#Require all denied
</Directory>
vhost.conf
<VirtualHost *:80>
#ServerAdmin
webmaster@dummy-host2.example.com
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>
#ServerAdmin
webmaster@dummy-host2.example.com
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>