<VirtualHost *:80>
ServerName 222.*.*.49
<Location ></Location>
Order Allow,Deny
Deny from all
</Location>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin w*master@example.com
DocumentRoot "H:/wwwroot/abc_center"
ServerName j*.*.*.cn
ErrorLog "H:/BtSoft/wwwlogs/127.0.0.1-error.log"
CustomLog "H:/BtSoft/wwwlogs/127.0.0.1-access.log" combined
#redirect 重定向
IncludeOptional conf/redirect/127.0.0.1/*.conf
#proxy 反向代理
IncludeOptional conf/proxy/127.0.0.1/*.conf
ErrorDocument 404 /404.html
#DENY FILES
<Files ~ (\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)$>
Order allow,deny
Deny from all
</Files>
#PHP
Include conf/php/53.conf
#PATH
<Directory "H:/wwwroot/abc_center">
Options FollowSymLinks ExecCGI
AllowOverride All
Require all granted
DirectoryIndex index.php default.php index.html index.htm default.html default.htm
</Directory>
</VirtualHost>