---
+0 仅支持域名访问的方法
近期收到一些短信告警,大概意思是说不能通过 ip 直接访问网站。
顺手禁掉,备忘如下:
vi /etc/apache2/sites-available/000-default.conf
添加:
<VirtualHost *:80>
ServerName xxx.xxx.xxx.xxx
ServerAlias xxx.xxx.x
查看全文: http://www.udpwork.com/item/17230.html
顺手禁掉,备忘如下:
vi /etc/apache2/sites-available/000-default.conf
添加:
<VirtualHost *:80>
ServerName xxx.xxx.xxx.xxx
ServerAlias xxx.xxx.x
查看全文: http://www.udpwork.com/item/17230.html