天天看點

LAMP_ 通路控制

通路控制

<Directory /data/www/>    #網站目錄

            Order deny,allow   # 先看deny   再看 allow    拒絕所有,再允許127.0.0.1

            Deny from all

            Allow from 127.0.0.1

</Directory>

<a href="http://s3.51cto.com/wyfs02/M02/85/6A/wKiom1eiyZbTjh3TAAAQ6BuENiw840.png" target="_blank"></a>

<a href="http://s3.51cto.com/wyfs02/M00/85/69/wKioL1eiyZaCFhHSAABiHSPGx1Y743.png" target="_blank"></a>

本文轉自 15816815732 51CTO部落格,原文連結:http://blog.51cto.com/68686789/1834289

繼續閱讀