.htaccessで携帯のみアクセス許可にする

ということで、前回各キャリアのIPアドレスを調べたので、.htaccessで携帯のみ
アクセス許可とする。

<Limit GET POST>
        Order deny,allow
        Allow from 210.153.84.0/24
        Allow from 210.136.161.0/24
        Allow from 210.153.86.0/24
        Allow from 123.108.236.0/24
        Allow from 123.108.237.0/27
        Allow from 202.179.204.0/24
        Allow from 202.253.96.224/27
        Allow from 210.146.7.192/26
        Allow from 210.146.60.192/26
        Allow from 210.151.9.128/26
        Allow from 210.169.130.112/28
        Allow from 210.175.1.128/25
        Allow from 210.228.189.0/24
        Allow from 211.8.159.128/25
        Allow from 210.169.40.0/24
        Allow from 210.196.3.192/26
        Allow from 210.196.5.192/26
        Allow from 210.230.128.0/24
        Allow from 210.230.141.192/26
        Allow from 210.234.105.32/29
        Allow from 210.234.108.64/26
        Allow from 210.251.1.192/26
        Allow from 210.251.2.0/27
        Allow from 211.5.1.0/24
        Allow from 211.5.2.128/25
        Allow from 211.5.7.0/24
        Allow from 218.222.1.0/24
        Allow from 61.117.0.0/24
        Allow from 61.117.1.0/24
        Allow from 61.117.2.0/26
        Allow from 61.202.3.0/24
        Allow from 219.108.158.0/26
        Allow from 219.125.148.0/24
        Allow from 222.5.63.0/24
        Allow from 222.7.56.0/24
        Allow from 222.5.62.128/25
        Allow from 222.7.57.0/24
        Allow from 59.135.38.128/25
        Allow from 219.108.157.0/25
        Allow from 219.125.151.128/25
        Allow from 219.125.145.0/25
        Allow from 121.111.231.0/25
        Allow from 121.111.231.160/27
        Allow from 121.111.227.0/25
        Deny from all
</LIMIT>
 



Popularity: 4% [?]

DiggGoogle BookmarksGoogle ReaderFacebookDeliciousFriendFeedEvernoteTwitterShare
  1. No comments yet.

  1. No trackbacks yet.