【htaccess】特定のIPアドレスだけアクセス出来るようにする。

.htaccessで202.111.111.111だけアクセス出来るようにする。
この.htaccessの配下全て特定のIPアドレス以外はアクセス出来ません。

order deny,allow
deny from all
allow from 202.111.111.111

自分のグローバルIPアドレスとホスト名の確認方法

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x