NameVirtualHost 121.xx.xx.xx
<VirtualHost 121.xx.xx.xx>
ServerName 121.xx.xx.xx
<Location />
Order Allow,Deny
Deny from all
</Location>
</VirtualHost>
不过我重启apache后,提示
:AH00548: NameVirtualHost has no effect and will be removed in the next release /usr/local/apache2/conf/vhosts/wordpress.conf:12 不知道什么意思。。是下次会失效的意思吗?