实现apache下,IP地址无法访问网站.

#在apache2/conf/extra/httpd-vhosts.conf下首行添加

<VirtualHost *:80>

    DocumentRoot "/usr/local/www/www.abc.com.cn/"
    ServerAlias 1.1.1.1
    <Location />
    Order Deny,Allow
    Deny from all
    </Location>
</VirtualHost>


     本文转自 showerlee 51CTO博客,原文链接:http://blog.51cto.com/showerlee/1140963,如需转载请自行联系原作者

上一篇:[CareerCup] 9.6 Generate Parentheses 生成括号


下一篇:Apk签名时报错Export aborted because fatal lint errors were found