|
- <VirtualHost _default_:80>
- DocumentRoot "D:\phpStudy\WWW"
- <Directory "D:\phpStudy\WWW">
- Options -Indexes +FollowSymLinks +ExecCGI
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- <VirtualHost *:80>
- DocumentRoot "D:\myweb\web1\public"
- ServerName www.web1.com
- ServerAlias web1.com
- <Directory "D:\myweb\web1\public">
- Options FollowSymLinks ExecCGI
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- <VirtualHost *:80>
- DocumentRoot "D:\myweb\web2"
- ServerName www.web2.com
- ServerAlias web2.com
- <Directory "D:\myweb\web2">
- Options FollowSymLinks ExecCGI
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
复制代码
|
|