1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirect one country using htaccess

Discussion in 'General Programming Chat' started by speedy5044, Oct 25, 2010.

  1. speedy5044

    speedy5044 Regular Member

    Joined:
    Jul 29, 2008
    Messages:
    456
    Likes Received:
    993
    Occupation:
    IM
    Hi
    I need to Redirect all visitors to my website from japan to another website , i used to have a working htacess but it need to be updated with the new ip ranges and add the redirection.
    This is the old htacess file:

    Code:
    DirectoryIndex index.html index.php
    
    <IfModule mod_rewrite.c>
    RewriteEngine on
    # Some hostings require RewriteBase to be uncommented
    # Example:
    # Your store url is http://www.yourcompany.com/store/cart
    # So "RewriteBase" should be:
    # RewriteBase /store/cart 
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !\.(png|gif|ico|swf|jpe?g|js|css)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . index.php?sef_rewrite=1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} .*\/catalog\/.*
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteCond %{REQUEST_FILENAME}/index.html !-f
    RewriteRule . index.php?sef_rewrite=1 [L,QSA]
    
    </IfModule>
    RewriteCond %{HTTP_HOST} ^zerohalliburton.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.zerohalliburton.com$
    RewriteRule ^travel\/polycarbonate\.jsp$ "http\:\/\/www\.zerohalliburton\.com\/index\.php\?dispatch\=categories\.view\&category_id\=46" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^zerohalliburton.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.zerohalliburton.com$
    RewriteRule ^business\/aluminum\.jsp\/?(.*)$ "http\:\/\/www\.zerohalliburton\.com\/index\.php\?dispatch\=categories\.view\&category_id\=10\/$1" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^zerohalliburton.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.zerohalliburton.com$
    RewriteRule ^business\/?$ "http\:\/\/www\.zerohalliburton\.com\/index\.php\?dispatch\=categories\.view\&category_id\=1\/" [R=301,L]
    ErrorDocument 403 http://www.proxynetwork.ws/blocked.html
    
    <Limit GET HEAD POST>
    order allow,deny
    RewriteCond %{REMOTE_HOST} 58.0.0.0/15
    RewriteCond %{REMOTE_HOST} 58.3.0.0/17
    RewriteCond %{REMOTE_HOST} 58.3.128.0/17
    RewriteCond %{REMOTE_HOST} 58.4.0.0/15
    RewriteCond %{REMOTE_HOST} 58.12.0.0/15
    RewriteCond %{REMOTE_HOST} 58.65.32.0/19
    RewriteCond %{REMOTE_HOST} 58.70.0.0/16
    RewriteCond %{REMOTE_HOST} 58.80.0.0/15
    RewriteCond %{REMOTE_HOST} 117.18.208.0/20
    RewriteCond %{REMOTE_HOST} 216.255.224.0/20
    allow from all
    </LIMIT>
    
    
    How to place the new ip address and add the redirection ?
    This is the new ip address list:
    Code:
                                                                         
                                                                         
                                                                         
                                                 
     1.21.0.0 - 1.21.255.255
     1.33.0.0 - 1.33.255.255
     1.66.0.0 - 1.67.255.255
     1.72.0.0 - 1.79.255.255
     1.112.0.0 - 1.115.255.255
     14.0.8.0 - 14.0.11.255
     14.1.0.0 - 14.1.15.255
     14.1.24.0 - 14.1.31.255
     14.8.0.0 - 14.15.255.255
     14.101.0.0 - 14.101.255.255
     14.102.132.0 - 14.102.135.255
     14.102.192.0 - 14.102.223.255
     14.128.16.0 - 14.128.31.255
     14.128.64.0 - 14.128.127.255
     14.132.0.0 - 14.133.255.255
     14.192.32.0 - 14.192.59.255
     14.192.96.0 - 14.192.127.255
     14.193.0.0 - 14.193.255.255
     27.0.0.0 - 27.0.3.255
     27.0.16.0 - 27.0.47.255
     27.0.128.0 - 27.0.255.255
     27.34.128.0 - 27.34.175.255
     27.34.192.0 - 27.34.223.255
     27.50.12.0 - 27.50.15.255
     27.54.96.0 - 27.54.115.255
     27.54.124.0 - 27.54.127.255
     27.80.0.0 - 27.96.23.255
     27.96.32.0 - 27.96.63.255
     27.96.72.0 - 27.96.83.255
     27.98.0.0 - 27.98.191.255
     27.100.8.0 - 27.100.11.255
     27.100.32.0 - 27.100.35.255
     27.100.48.0 - 27.100.63.255
     27.106.208.0 - 27.106.215.255
     27.106.224.0 - 27.106.255.255
     27.109.96.0 - 27.109.103.255
     27.109.120.0 - 27.109.123.255
     27.110.0.0 - 27.110.63.255
     27.110.96.0 - 27.110.119.255
     27.111.76.0 - 27.111.79.255
     27.111.128.0 - 27.111.159.255
     27.112.104.0 - 27.112.111.255
     27.112.124.0 - 27.112.127.255
     27.113.192.0 - 27.113.239.255
     27.113.248.0 - 27.113.251.255
     27.114.0.0 - 27.114.127.255
     27.116.0.0 - 27.116.15.255
     27.116.24.0 - 27.116.31.255
     27.116.40.0 - 27.116.43.255
     27.118.0.0 - 27.118.15.255
     27.120.64.0 - 27.121.63.255
     27.121.128.0 - 27.121.255.255
     27.131.8.0 - 27.131.11.255
     27.131.16.0 - 27.131.31.255
     27.131.192.0 - 27.131.207.255
     27.131.224.0 - 27.131.247.255
     27.132.0.0 - 27.143.255.255
     27.147.64.0 - 27.147.127.255
     27.228.0.0 - 27.231.255.255
     32.42.15.128 - 32.42.15.135
     32.42.15.144 - 32.42.15.159
     32.60.34.16 - 32.60.34.23
     32.60.34.192 - 32.60.34.207
     43.0.0.0 - 43.255.255.255
     58.0.0.0 - 58.1.255.255
     58.3.0.0 - 58.5.255.255
     58.12.0.0 - 58.13.255.255
     58.65.32.0 - 58.65.63.255
     58.70.0.0 - 58.70.255.255
     58.80.0.0 - 58.81.255.255
     58.84.0.0 - 58.84.63.255
     58.85.0.0 - 58.85.255.255
     58.87.16.0 - 58.87.31.255
     58.87.128.0 - 58.95.255.255
     58.98.0.0 - 58.98.255.255
     58.112.0.0 - 58.113.255.255
     58.138.0.0 - 58.138.191.255
     58.145.160.0 - 58.145.167.255
     58.146.0.0 - 58.146.95.255
     58.147.160.0 - 58.147.167.255
     58.147.192.0 - 58.147.255.255
     58.156.0.0 - 58.159.255.255
     58.183.0.0 - 58.183.255.255
     58.188.0.0 - 58.191.255.255
     59.84.0.0 - 59.86.159.255
     59.87.0.0 - 59.87.255.255
     59.106.0.0 - 59.106.255.255
     59.128.0.0 - 59.143.255.255
     59.146.0.0 - 59.147.255.255
     59.153.0.0 - 59.153.255.255
     59.156.0.0 - 59.159.255.255
     59.166.0.0 - 59.166.255.255
     59.168.0.0 - 59.171.255.255
     59.190.0.0 - 59.190.255.255
     59.191.128.0 - 59.191.191.255
     60.32.0.0 - 60.47.255.255
     60.56.0.0 - 60.62.255.255
     60.64.0.0 - 60.159.255.255
     60.192.0.0 - 60.193.255.255
     60.236.0.0 - 60.239.255.255
     60.254.192.0 - 60.254.255.255
     61.4.128.0 - 61.4.175.255
     61.5.224.0 - 61.5.255.255
     61.7.0.0 - 61.7.127.255
     61.8.80.0 - 61.8.95.255
     61.11.128.0 - 61.11.207.255
     61.12.128.0 - 61.12.255.255
     61.14.29.48 - 61.14.29.63
     61.14.156.0 - 61.14.157.255
     61.14.171.0 - 61.14.171.255
     61.14.173.0 - 61.14.173.255
     61.14.184.64 - 61.14.184.95
     61.14.184.112 - 61.14.184.127
     61.14.184.152 - 61.14.184.167
     61.14.184.192 - 61.14.185.15
     61.14.185.128 - 61.14.185.255
     61.21.0.0 - 61.27.255.255
     61.28.192.0 - 61.28.192.255
     61.44.0.0 - 61.45.127.255
     61.45.192.0 - 61.45.223.255
     61.45.240.0 - 61.45.247.255
     61.46.0.0 - 61.46.255.255
     61.86.0.0 - 61.87.127.255
     61.89.0.0 - 61.89.255.255
     61.112.0.0 - 61.127.255.255
     61.192.0.0 - 61.215.255.255
     61.245.0.0 - 61.245.127.255
     61.245.192.0 - 61.245.223.255
     63.150.140.192 - 63.150.140.223
     63.241.122.0 - 63.241.122.15
     64.35.46.168 - 64.35.46.175
     64.39.27.8 - 64.39.27.15
     64.49.198.144 - 64.49.198.151
     64.56.160.0 - 64.56.191.255
     64.62.161.0 - 64.62.161.255
     64.71.140.128 - 64.71.140.135
     64.71.145.96 - 64.71.145.103
    
     115.167.128.0 - 115.167.255.255
     115.176.0.0 - 115.177.255.255
     115.178.112.0 - 115.178.119.255
     115.179.0.0 - 115.179.255.255
     115.187.64.0 - 115.187.79.255
     115.187.92.0 - 115.187.95.255
     116.0.128.0 - 116.0.255.255
     
     175.111.64.0 - 175.111.87.255
     175.111.92.0 - 175.111.95.255
     175.111.120.0 - 175.111.127.255
     175.128.0.0 - 175.135.255.255
     175.158.100.0 - 175.158.103.255
     175.158.112.0 - 175.158.127.255
     175.176.152.0 - 175.176.159.255
     175.176.196.0 - 175.176.199.255
     175.177.0.0 - 175.177.255.255
     175.179.0.0 - 175.179.255.255
     175.184.0.0 - 175.184.127.255
     178.86.8.1 - 178.86.8.254
     180.0.0.0 - 180.63.255.255
     180.92.16.0 - 180.92.63.255
     180.94.40.0 - 180.94.47.255
     180.94.192.0 - 180.94.215.255
     180.94.240.0 - 180.94.255.255
     180.131.64.0 - 180.131.127.255
     180.131.152.0 - 180.131.159.255
     180.131.192.0 - 180.131.255.255
     180.144.0.0 - 180.147.255.255
     180.148.144.0 - 180.148.151.255
     180.148.160.0 - 180.148.175.255
     180.148.184.0 - 180.148.207.255
     180.149.160.0 - 180.149.191.255
     180.149.200.0 - 180.149.207.255
     180.178.80.0 - 180.178.91.255
     180.188.208.0 - 180.188.223.255
     180.189.0.0 - 180.189.63.255
     180.189.128.0 - 180.189.135.255
     180.196.0.0 - 180.200.127.255
     180.200.224.0 - 180.200.231.255
     180.200.248.0 - 180.200.251.255
     180.211.72.0 - 180.211.79.255
     180.211.84.0 - 180.211.87.255
     180.214.0.0 - 180.214.63.255
     180.214.224.0 - 180.214.231.255
     180.220.0.0 - 180.221.255.255
     180.222.72.0 - 180.222.95.255
     180.233.96.0 - 180.233.111.255
     180.233.132.0 - 180.233.143.255
     180.235.0.0 - 180.235.63.255
     180.235.96.0 - 180.235.103.255
     180.235.140.0 - 180.235.147.255
     182.16.224.0 - 182.16.231.255
     182.16.236.0 - 182.16.239.255
     182.20.0.0 - 182.22.255.255
     182.23.208.0 - 182.23.211.255
     182.23.216.0 - 182.23.255.255
     182.48.0.0 - 182.48.63.255
     182.50.96.0 - 182.50.111.255
     182.50.192.0 - 182.50.239.255
     182.54.240.0 - 182.54.243.255
     182.54.248.0 - 182.54.255.255
     182.93.96.0 - 182.93.127.255
     182.158.0.0 - 182.159.255.255
     182.161.64.0 - 182.161.71.255
     182.161.76.0 - 182.161.79.255
     182.163.0.0 - 182.163.95.255
     182.164.0.0 - 182.171.255.255
     182.173.128.0 - 182.173.159.255
     182.236.0.0 - 182.236.111.255
     182.248.0.0 - 182.251.255.255
     182.255.64.0 - 182.255.79.255
     183.72.0.0 - 183.77.255.255
     183.78.176.0 - 183.78.179.255
     183.78.188.0 - 183.78.191.255
     183.79.0.0 - 183.79.255.255
     183.81.176.0 - 183.81.179.255
     183.86.0.0 - 183.86.191.255
     183.90.176.0 - 183.90.183.255
     183.90.192.0 - 183.90.255.255
     183.176.0.0 - 183.177.63.255
     183.177.128.0 - 183.177.255.255
     183.180.0.0 - 183.181.255.255
     183.182.32.0 - 183.182.63.255
     183.182.128.0 - 183.183.255.255
     192.5.216.0 - 192.5.216.255
     192.16.178.0 - 192.16.179.255
     192.26.91.0 - 192.26.91.255
     192.26.93.0 - 192.26.94.255
     192.26.96.0 - 192.26.96.255
     192.31.116.0 - 192.31.127.255
     192.31.197.0 - 192.31.206.255
     192.33.135.0 - 192.33.135.255
     192.41.178.0 - 192.41.197.255
     192.42.84.0 - 192.42.86.255
     192.42.103.0 - 192.42.107.255
     192.42.237.0 - 192.42.237.255
     192.43.174.0 - 192.43.174.255
     192.43.189.0 - 192.43.189.255
     192.43.201.0 - 192.43.202.255
     192.47.0.0 - 192.47.241.255
     192.50.0.0 - 192.50.255.255
     192.51.16.0 - 192.51.255.255
     192.52.119.0 - 192.52.150.255
     192.54.247.0 - 192.54.247.255
     192.55.110.0 - 192.55.110.255
     192.55.118.0 - 192.55.118.255
     192.55.220.0 - 192.55.220.255
     192.55.238.0 - 192.55.238.255
     192.58.9.0 - 192.58.18.255
     192.58.96.0 - 192.58.101.255
     192.68.110.0 - 192.68.111.255
     192.68.235.0 - 192.68.249.255
     192.70.179.0 - 192.70.183.255
     192.76.252.0 - 192.76.255.255
     192.82.132.0 - 192.82.132.255
     192.83.104.0 - 192.83.104.255
     192.83.157.0 - 192.83.157.255
     192.83.217.0 - 192.83.219.255
     192.83.230.0 - 192.83.230.255
     192.84.71.0 - 192.84.73.255
     192.88.80.0 - 192.88.80.255
     192.88.101.0 - 192.88.102.255
     192.94.220.0 - 192.94.220.255
     192.94.238.0 - 192.94.238.255
     192.98.46.0 - 192.98.46.255
     192.103.42.0 - 192.103.43.255
     192.104.40.0 - 192.104.40.255
     192.104.80.0 - 192.104.80.255
     192.104.172.0 - 192.104.172.255
     192.104.232.0 - 192.104.233.255
     192.104.246.0 - 192.104.247.255
     192.132.31.0 - 192.132.31.255
     192.135.89.0 - 192.135.111.255
     192.135.222.0 - 192.135.222.255
     192.146.184.0 - 192.146.184.255
     192.149.209.0 - 192.149.209.255
     192.152.69.0 - 192.152.69.255
     192.152.212.0 - 192.152.212.255
     192.153.95.0 - 192.153.114.255
     192.156.140.0 - 192.156.159.255
     192.156.220.0 - 192.156.220.255
     192.157.138.0 - 192.157.138.255
     192.157.150.0 - 192.157.152.255
     192.160.161.0 - 192.160.161.255
     192.172.227.0 - 192.172.246.255
     192.174.128.0 - 192.174.255.255
     192.188.73.0 - 192.188.92.255
     192.189.24.0 - 192.189.24.255
     192.218.0.0 - 192.218.255.255
     192.234.58.0 - 192.234.58.255
     192.237.119.0 - 192.237.119.255
     192.244.0.0 - 192.244.255.255
     194.69.147.0 - 194.69.147.255
     194.117.100.0 - 194.117.100.107
     194.117.100.112 - 194.117.100.255
     194.117.106.40 - 194.117.106.63
     194.117.106.144 - 194.117.106.255
     194.132.184.0 - 194.132.184.255
     195.213.43.208 - 195.213.43.223
     198.17.1.0 - 198.17.1.255
     198.17.118.0 - 198.17.118.255
     198.73.220.0 - 198.73.220.255
     198.81.0.0 - 198.81.3.255
     198.112.6.0 - 198.112.6.255
     198.133.206.0 - 198.133.206.255
     198.137.87.0 - 198.137.89.255
     198.175.111.0 - 198.175.111.255
     198.180.150.0 - 198.180.153.255
     198.240.141.0 - 198.240.141.255
     199.6.106.0 - 199.6.106.255
     199.103.103.0 - 199.103.103.255
     202.0.65.0 - 202.0.66.255
     202.0.72.0 - 202.0.73.255
     202.0.76.0 - 202.0.76.255
     202.0.93.0 - 202.0.93.255
     202.1.208.0 - 202.1.223.255
     202.2.88.0 - 202.2.91.255
     202.2.128.0 - 202.2.137.15
     202.2.137.20 - 202.2.142.230
     202.2.142.232 - 202.2.144.63
     202.2.144.128 - 202.2.255.255
     202.3.136.0 - 202.3.136.255
     202.3.140.0 - 202.3.159.255
     202.4.244.0 - 202.4.250.255
     202.5.64.0 - 202.5.79.255
     202.6.98.0 - 202.6.98.255
     202.6.103.0 - 202.6.103.255
     202.6.119.0 - 202.6.119.255
     202.6.244.0 - 202.6.247.255
     202.6.252.0 - 202.6.255.255
     202.7.16.0 - 202.7.31.255
     202.7.96.0 - 202.7.127.255
     202.8.6.0 - 202.8.7.255
     202.8.26.0 - 202.8.27.255
     202.8.48.0 - 202.8.63.255
     202.8.77.0 - 202.8.77.255
     202.8.80.0 - 202.8.83.255
     202.8.208.0 - 202.8.223.255
     202.9.208.0 - 202.9.223.255
     202.10.96.0 - 202.10.127.255
     202.11.0.0 - 202.11.255.255
     202.12.8.0 - 202.12.15.255
     202.12.27.0 - 202.12.27.255
     202.12.243.0 - 202.12.247.255
     202.13.0.0 - 202.13.255.255
     202.15.0.0 - 202.19.255.255
     202.20.90.0 - 202.20.90.255
     202.20.110.0 - 202.20.110.255
     202.20.123.0 - 202.20.124.255
     202.21.112.0 - 202.21.127.255
     202.21.150.0 - 202.21.153.255
     202.21.160.0 - 202.21.175.255
     202.22.64.0 - 202.22.127.255
     202.22.208.0 - 202.22.223.255
     202.23.0.0 - 202.26.255.255
     202.27.14.0 - 202.27.14.255
     202.32.0.0 - 202.35.255.255
     202.41.134.0 - 202.41.134.255
     202.41.196.0 - 202.41.203.255
     202.41.208.0 - 202.41.223.255
     202.43.16.0 - 202.43.31.255
     202.43.68.0 - 202.43.71.255
     202.43.96.0 - 202.43.99.255
     202.43.104.0 - 202.43.107.255
     202.43.240.0 - 202.43.247.255
     202.44.97.0 - 202.44.97.255
     202.45.12.0 - 202.45.12.255
     202.45.129.0 - 202.45.129.255
     202.45.160.0 - 202.45.163.127
     202.45.164.0 - 202.45.175.255
     202.47.16.0 - 202.47.31.255
     202.48.0.0 - 202.48.255.255
     202.51.4.0 - 202.51.15.255
     202.51.32.0 - 202.51.55.255
     202.52.16.0 - 202.52.31.255
     202.52.38.0 - 202.52.38.255
     202.52.151.0 - 202.52.151.255
     202.52.154.0 - 202.52.154.255
     202.52.176.0 - 202.52.191.255
     202.53.16.0 - 202.53.31.255
     202.53.112.0 - 202.53.127.255
     202.53.208.0 - 202.53.223.255
     202.55.112.0 - 202.55.127.255
     202.55.136.0 - 202.55.139.255
     202.55.192.0 - 202.55.223.255
     202.56.16.0 - 202.56.31.255
     202.56.64.0 - 202.56.79.255
     202.57.224.0 - 202.57.239.255
     202.58.1.0 - 202.58.1.255
     202.58.4.0 - 202.58.7.255
     202.58.16.0 - 202.58.31.255
     202.58.104.0 - 202.58.107.255
     202.58.116.0 - 202.58.119.255
     202.58.144.0 - 202.58.159.255
     202.59.112.0 - 202.59.127.255
     202.59.144.0 - 202.59.151.255
     202.59.176.0 - 202.59.191.255
     202.59.234.0 - 202.59.235.255
     202.60.16.0 - 202.60.47.255
     202.60.160.0 - 202.60.191.255
     202.61.1.0 - 202.61.1.255
     202.61.16.0 - 202.61.31.255
     202.62.160.0 - 202.62.191.255
     202.62.253.0 - 202.62.253.255
     202.67.16.0 - 202.67.31.255
     202.67.48.0 - 202.67.63.255
     202.69.112.0 - 202.69.127.255
     202.69.224.0 - 202.69.239.255
     202.70.140.0 - 202.70.140.255
     202.70.176.0 - 202.70.191.255
     202.70.208.0 - 202.70.255.255
     202.71.48.0 - 202.71.95.255
     202.72.48.0 - 202.72.79.255
     202.73.64.0 - 202.73.95.255
     202.73.136.0 - 202.73.143.255
     202.73.208.0 - 202.73.223.255
     202.74.4.0 - 202.74.7.255
     202.74.16.0 - 202.74.31.255
     202.74.253.0 - 202.74.253.255
     202.75.8.0 - 202.75.15.255
     202.75.112.0 - 202.75.127.255
     202.75.224.0 - 202.75.239.255
     202.76.192.0 - 202.76.223.255
     202.78.176.0 - 202.78.191.255
     202.78.208.0 - 202.78.223.255
     202.78.248.0 - 202.78.250.255
     202.79.0.0 - 202.79.15.255
     202.79.128.0 - 202.79.159.255
     202.79.240.0 - 202.79.247.255
     202.80.96.0 - 202.80.103.255
     202.81.8.0 - 202.81.15.255
     202.81.80.0 - 202.81.95.255
     202.83.128.0 - 202.83.159.255
     202.83.184.0 - 202.83.191.255
     202.83.224.0 - 202.83.239.255
     202.84.18.0 - 202.84.19.255
     202.84.48.0 - 202.84.63.255
     202.84.80.0 - 202.84.95.255
     202.86.56.0 - 202.86.63.255
     202.86.120.0 - 202.86.127.255
     202.86.224.0 - 202.86.247.255
     202.87.64.0 - 202.87.79.255
     202.87.224.0 - 202.87.239.255
     202.88.48.0 - 202.88.63.255
     202.88.192.0 - 202.88.199.255
     202.89.17.0 - 202.89.17.255
     202.89.18.16 - 202.89.18.31
     202.89.19.0 - 202.89.19.255
     202.89.20.128 - 202.89.20.255
     202.89.22.0 - 202.89.23.15
     202.89.23.24 - 202.89.23.191
     202.89.80.0 - 202.89.95.255
     202.89.112.0 - 202.89.115.255
     202.89.224.0 - 202.89.247.255
     202.90.8.0 - 202.90.15.255
     202.90.176.0 - 202.90.191.255
     202.90.208.0 - 202.90.223.255
     202.91.48.0 - 202.91.63.255
     202.91.112.0 - 202.91.127.255
     202.91.144.0 - 202.91.159.255
     202.91.208.0 - 202.91.223.255
     202.93.64.0 - 202.93.95.255
     202.93.144.0 - 202.93.151.255
     202.94.48.0 - 202.94.63.255
     202.94.128.0 - 202.94.159.255
     202.94.176.0 - 202.94.223.255
     202.95.32.0 - 202.95.63.255
     202.95.121.224 - 202.95.121.239
     202.95.160.0 - 202.95.191.255
     202.95.208.0 - 202.95.223.255
     202.95.248.0 - 202.95.249.255
     202.122.24.0 - 202.122.31.255
     202.122.48.0 - 202.122.63.255
     202.122.136.0 - 202.122.143.255
     202.122.176.0 - 202.122.255.255
     202.123.112.0 - 202.123.127.255
     202.123.184.0 - 202.123.191.255
     202.124.0.0 - 202.124.15.255
     202.124.48.0 - 202.124.63.255
     202.124.208.0 - 202.124.223.255
     202.125.48.0 - 202.125.63.255
     202.126.0.0 - 202.126.1.183
     202.126.1.192 - 202.126.2.31
     202.126.2.48 - 202.126.2.127
     202.126.2.144 - 202.126.5.207
     202.126.5.224 - 202.126.7.15
     202.126.7.24 - 202.126.8.111
     202.126.8.128 - 202.126.10.255
     202.126.11.24 - 202.126.11.31
     202.126.11.80 - 202.126.31.255
     202.126.224.0 - 202.126.255.255
     202.127.80.0 - 202.127.95.255
     202.127.176.0 - 202.127.191.255
     202.129.176.0 - 202.129.183.255
     202.129.254.0 - 202.129.254.255
     202.130.39.0 - 202.130.39.255
     202.130.60.0 - 202.130.63.255
     202.130.150.192 - 202.130.150.223
     202.131.8.0 - 202.131.15.255
     202.131.192.0 - 202.131.207.255
     202.133.112.0 - 202.133.127.255
     202.134.208.0 - 202.134.223.255
     202.135.0.0 - 202.135.34.255
     202.135.36.0 - 202.135.39.255
     202.135.40.8 - 202.135.142.159
     202.135.142.192 - 202.135.226.255
     202.135.228.0 - 202.135.253.255
     202.135.255.0 - 202.135.255.255
     202.136.192.0 - 202.136.207.255
     202.137.32.0 - 202.137.63.255
     202.137.184.0 - 202.137.191.255
     202.138.80.0 - 202.138.95.255
     202.140.0.0 - 202.140.31.255
     202.140.192.0 - 202.140.223.255
     202.141.192.0 - 202.141.207.255
     202.142.8.0 - 202.142.15.255
     202.142.224.0 - 202.142.255.255
     202.143.2.0 - 202.143.3.255
     202.143.8.0 - 202.143.15.255
     202.143.64.0 - 202.143.95.255
     202.143.192.0 - 202.143.255.255
     202.145.16.0 - 202.145.31.255
     202.146.16.0 - 202.146.23.255
     202.147.2.0 - 202.147.2.79
     202.147.2.88 - 202.147.2.207
     202.147.2.240 - 202.147.3.191
     202.147.3.200 - 202.147.4.175
     202.147.4.192 - 202.147.5.255
     202.147.23.0 - 202.147.23.63
     202.147.208.0 - 202.147.223.255
     202.148.240.0 - 202.149.23.255
     202.150.48.0 - 202.150.55.255
     202.151.96.0 - 202.151.127.255
     202.152.96.0 - 202.152.127.255
     202.152.208.0 - 202.152.223.255
     202.153.4.0 - 202.153.5.255
     202.157.0.0 - 202.157.63.255
     202.157.96.0 - 202.157.127.255
     202.157.224.0 - 202.157.255.255
     202.158.224.0 - 202.158.239.255
     202.158.242.0 - 202.158.242.255
     202.161.192.0 - 202.161.255.255
     202.162.80.0 - 202.162.95.255
     202.162.112.0 - 202.162.159.255
     202.163.160.0 - 202.163.191.255
     202.164.64.0 - 202.164.95.255
     202.164.224.0 - 202.164.255.255
     202.165.48.0 - 202.165.55.255
     202.165.112.0 - 202.165.119.255
     202.165.160.0 - 202.165.175.255
     202.166.185.0 - 202.166.185.255
     202.167.236.0 - 202.167.239.255
     202.168.216.0 - 202.168.223.255
     202.169.64.0 - 202.169.95.255
     202.169.128.0 - 202.169.159.255
     202.169.184.0 - 202.169.191.255
     202.170.96.0 - 202.170.111.255
     202.170.176.0 - 202.170.191.255
     202.170.208.0 - 202.170.215.255
     202.171.80.0 - 202.171.95.255
     202.171.112.0 - 202.171.159.255
     202.171.224.0 - 202.171.231.255
     202.172.24.0 - 202.172.31.255
     202.172.64.0 - 202.172.95.255
     202.173.5.0 - 202.173.5.255
     202.173.96.0 - 202.173.127.255
     202.174.48.0 - 202.174.63.255
     202.174.192.0 - 202.174.223.255
     202.175.144.0 - 202.175.159.255
     202.176.8.0 - 202.176.11.255
     202.176.16.0 - 202.176.63.255
     202.177.32.0 - 202.177.39.255
     202.177.48.0 - 202.177.127.255
     202.178.80.0 - 202.178.111.255
     202.179.32.0 - 202.179.63.255
     202.179.160.0 - 202.179.175.255
     202.179.192.0 - 202.179.239.255
     202.180.32.0 - 202.180.47.255
     202.180.56.0 - 202.180.63.255
     202.180.176.0 - 202.180.207.255
     202.181.96.0 - 202.181.111.255
     202.183.48.0 - 202.183.63.255
     202.183.80.0 - 202.183.95.255
     202.189.144.0 - 202.189.159.255
     202.189.176.0 - 202.189.183.255
     202.189.192.0 - 202.189.223.255
     202.191.16.0 - 202.191.31.255
     202.191.112.0 - 202.191.119.255
     202.208.0.0 - 202.242.2.98
     202.242.2.100 - 202.242.2.110
     202.242.2.112 - 202.255.255.255
     203.19.147.0 - 203.19.147.255
     203.20.44.0 - 203.20.44.255
     203.27.229.0 - 203.27.229.255
     203.27.251.140 - 203.27.251.160
     203.34.81.0 - 203.34.81.255
     203.76.64.0 - 203.76.95.255
     203.76.164.0 - 203.76.167.255
     203.78.224.0 - 203.78.255.255
     203.79.48.0 - 203.79.63.255
     203.80.6.0 - 203.80.7.255
     203.80.24.0 - 203.80.31.255
     203.81.12.0 - 203.81.15.255
     203.81.112.0 - 203.81.127.255
     203.81.240.0 - 203.81.247.255
     203.82.24.0 - 203.82.31.255
     203.82.112.0 - 203.82.159.255
     203.83.8.0 - 203.83.15.255
     203.83.220.0 - 203.83.223.255
     203.83.240.0 - 203.83.247.255
     203.86.224.0 - 203.86.231.255
     203.86.240.0 - 203.86.250.255
     203.88.176.0 - 203.88.191.255
     203.89.32.0 - 203.89.63.255
     203.89.128.0 - 203.89.131.255
     203.90.16.0 - 203.90.23.255
     203.91.160.0 - 203.91.191.255
     203.92.6.0 - 203.92.6.255
     203.92.16.0 - 203.92.23.255
     203.92.209.0 - 203.92.209.255
     203.92.212.0 - 203.92.212.255
     203.92.214.0 - 203.92.214.255
     203.92.223.0 - 203.92.223.127
     203.92.223.240 - 203.92.223.255
     203.95.16.0 - 203.95.63.255
     203.98.193.176 - 203.98.193.183
     203.98.193.192 - 203.98.193.223
     203.98.194.32 - 203.98.194.63
     203.98.205.24 - 203.98.205.31
     203.98.207.128 - 203.98.207.135
     203.98.208.0 - 203.98.208.255
     203.98.209.80 - 203.98.209.111
     203.98.213.192 - 203.98.213.199
     203.98.215.0 - 203.98.215.255
     203.98.217.160 - 203.98.217.163
     203.98.220.0 - 203.98.223.255
     203.99.0.0 - 203.99.7.255
     203.99.72.0 - 203.99.79.255
     203.99.224.0 - 203.99.231.255
     203.99.240.0 - 203.99.247.255
     203.104.96.0 - 203.104.255.255
     203.105.64.0 - 203.105.95.255
     203.110.96.0 - 203.110.127.255
     203.110.224.0 - 203.110.231.255
     203.111.240.0 - 203.111.247.255
     203.111.252.0 - 203.112.71.255
     203.114.192.0 - 203.114.223.255
     203.114.228.0 - 203.114.231.255
     203.114.248.0 - 203.114.251.255
     203.118.252.0 - 203.118.255.255
     203.119.1.0 - 203.119.1.255
     203.119.40.0 - 203.119.40.255
     203.123.56.0 - 203.123.58.255
     203.124.6.0 - 203.124.7.255
     203.124.64.0 - 203.124.95.255
     203.129.96.0 - 203.129.127.255
     203.129.160.0 - 203.129.191.255
     203.131.192.0 - 203.131.207.255
     203.132.96.0 - 203.132.127.255
     203.133.128.0 - 203.133.159.255
     203.133.192.0 - 203.133.251.255
     203.135.192.0 - 203.141.255.255
     203.142.192.0 - 203.142.215.255
     203.143.96.0 - 203.143.127.255
     203.145.120.0 - 203.145.127.255
     203.145.224.0 - 203.145.255.255
     203.148.96.0 - 203.148.127.255
     203.149.96.0 - 203.149.111.255
     203.152.192.0 - 203.152.223.255
     203.153.56.0 - 203.153.59.255
     203.160.16.0 - 203.160.31.255
     203.163.0.0 - 203.163.13.255
     203.163.15.0 - 203.163.32.255
     203.163.34.0 - 203.163.53.255
     203.163.55.0 - 203.163.64.127
     203.163.65.0 - 203.163.65.15
     203.163.65.128 - 203.163.65.191
     203.163.66.128 - 203.163.67.7
     203.163.67.16 - 203.163.67.39
     203.163.67.48 - 203.163.68.15
     203.163.68.48 - 203.163.68.63
     203.163.68.117 - 203.163.68.119
     203.163.68.136 - 203.163.68.151
     203.163.68.160 - 203.163.68.223
     203.163.68.232 - 203.163.70.63
     203.163.70.128 - 203.163.71.63
     203.163.71.96 - 203.163.71.223
     203.163.73.16 - 203.163.73.47
     203.163.73.56 - 203.163.73.127
     203.163.73.160 - 203.163.73.167
     203.163.73.176 - 203.163.73.207
     203.163.73.224 - 203.163.73.255
     203.163.74.8 - 203.163.74.47
     203.163.74.96 - 203.163.74.207
     203.163.74.216 - 203.163.76.191
     203.163.78.0 - 203.163.78.15
     203.163.78.24 - 203.163.78.31
     203.163.78.80 - 203.163.80.63
     203.163.80.128 - 203.163.80.191
     203.163.81.32 - 203.163.81.191
     203.163.81.224 - 203.163.82.31
     203.163.82.64 - 203.163.82.95
     203.163.82.128 - 203.163.82.255
     203.163.83.16 - 203.163.83.63
     203.163.83.80 - 203.163.83.191
     203.163.83.240 - 203.163.84.63
     203.163.84.80 - 203.163.84.127
     203.163.84.208 - 203.163.85.127
     203.163.86.0 - 203.163.89.255
     203.163.90.128 - 203.163.95.23
     203.163.95.32 - 203.163.95.39
     203.163.95.48 - 203.163.96.15
     203.163.96.24 - 203.163.96.31
     203.163.96.48 - 203.163.96.63
     203.163.96.80 - 203.163.96.95
     203.163.96.128 - 203.163.96.175
     203.163.96.192 - 203.163.96.255
     203.163.97.32 - 203.163.97.111
     203.163.97.144 - 203.163.97.207
     203.163.97.240 - 203.163.99.31
     203.163.99.48 - 203.163.99.111
     203.163.99.128 - 203.163.99.143
     203.163.100.64 - 203.163.101.95
     203.163.101.128 - 203.163.101.159
     203.163.102.64 - 203.163.102.79
     203.163.102.96 - 203.163.102.239
     203.163.103.80 - 203.163.103.87
     203.163.103.192 - 203.163.104.23
     203.163.104.32 - 203.163.104.63
     203.163.104.80 - 203.163.104.103
     203.163.104.128 - 203.163.104.135
     203.163.104.192 - 203.163.104.199
     203.163.104.216 - 203.163.105.47
     203.163.105.64 - 203.163.105.79
     203.163.105.88 - 203.163.105.95
     203.163.105.128 - 203.163.105.159
     203.163.105.176 - 203.163.105.223
     203.163.105.240 - 203.163.105.255
     203.163.107.0 - 203.163.107.63
     203.163.107.128 - 203.163.111.191
     203.163.112.16 - 203.163.112.23
     203.163.112.40 - 203.163.112.47
     203.163.112.56 - 203.163.112.79
     203.163.112.88 - 203.163.112.135
     203.163.112.160 - 203.163.112.175
     203.163.112.216 - 203.163.112.223
     203.163.113.0 - 203.163.116.255
     203.163.117.8 - 203.163.117.15
     203.163.117.24 - 203.163.117.87
     203.163.117.96 - 203.163.117.103
     203.163.117.112 - 203.163.117.135
     203.163.117.176 - 203.163.117.191
     203.163.117.216 - 203.163.117.223
     203.163.117.248 - 203.163.117.255
     203.163.118.64 - 203.163.122.3
     203.163.122.6 - 203.163.122.130
     203.163.122.133 - 203.163.122.133
     203.163.122.136 - 203.163.125.255
     203.163.127.0 - 203.163.127.3
     203.163.127.8 - 203.163.127.23
     203.163.127.32 - 203.163.127.35
     203.163.127.46 - 203.163.127.46
     203.163.127.56 - 203.163.127.59
     203.165.0.0 - 203.165.255.255
     203.167.32.0 - 203.167.63.255
     203.168.64.0 - 203.168.127.255
     203.169.8.0 - 203.169.15.255
     203.169.56.0 - 203.169.56.127
     203.169.58.0 - 203.169.58.7
     203.169.58.128 - 203.169.59.63
     203.169.59.120 - 203.169.59.255
     203.170.32.0 - 203.170.47.255
     203.170.52.0 - 203.170.55.255
     203.171.8.0 - 203.171.15.255
     203.171.128.0 - 203.171.159.255
     203.171.212.0 - 203.171.215.255
     203.173.64.0 - 203.173.87.255
     203.174.64.0 - 203.174.79.255
     203.174.88.0 - 203.174.95.255
     203.174.192.0 - 203.174.255.255
     203.175.16.0 - 203.175.31.255
     203.175.80.0 - 203.175.95.255
     203.178.0.0 - 203.182.14.111
     203.182.14.116 - 203.182.55.175
     203.182.55.180 - 203.183.255.255
     203.184.96.0 - 203.184.127.255
     203.188.208.0 - 203.188.215.255
     203.189.32.0 - 203.189.63.255
     203.190.28.0 - 203.190.31.255
     203.190.56.0 - 203.190.63.255
     203.190.228.0 - 203.190.229.255
     203.191.2.0 - 203.191.2.255
     203.191.4.0 - 203.191.4.255
     203.191.136.0 - 203.191.143.255
     203.191.208.0 - 203.191.255.255
     203.192.96.0 - 203.192.127.255
     203.192.140.0 - 203.192.140.7
     203.192.140.80 - 203.192.140.191
     203.192.145.0 - 203.192.145.255
     203.192.147.0 - 203.192.147.15
     203.192.147.32 - 203.192.147.47
     203.192.147.64 - 203.192.147.128
     203.192.149.0 - 203.192.150.255
     203.192.158.0 - 203.192.159.255
     203.193.48.128 - 203.193.48.159
     203.194.64.0 - 203.194.70.79
     203.194.70.160 - 203.194.71.35
     203.194.71.40 - 203.194.71.63
     203.194.71.68 - 203.194.72.31
     203.194.72.72 - 203.194.74.127
     203.194.74.144 - 203.194.74.151
     203.194.74.196 - 203.194.76.255
     203.194.77.64 - 203.194.77.95
     203.194.77.128 - 203.194.78.127
     203.194.78.225 - 203.194.78.255
     203.194.79.64 - 203.194.80.15
     203.194.80.144 - 203.194.83.191
     203.194.83.200 - 203.194.83.207
     203.194.83.224 - 203.194.84.255
     203.194.86.0 - 203.194.86.79
     203.194.86.104 - 203.194.86.143
     203.194.86.160 - 203.194.86.175
     203.194.86.192 - 203.194.86.239
     203.194.87.0 - 203.194.87.3
     203.194.87.12 - 203.194.87.12
     203.194.87.14 - 203.194.87.15
     203.194.88.0 - 203.194.88.23
     203.194.88.80 - 203.194.91.63
     203.194.91.128 - 203.194.93.63
     203.194.93.96 - 203.194.94.55
     203.194.94.64 - 203.194.94.87
     203.194.94.160 - 203.194.94.167
     203.194.94.176 - 203.194.94.191
     203.194.94.232 - 203.194.95.63
     203.194.95.80 - 203.194.95.255
     203.196.16.0 - 203.196.23.255
     203.196.64.0 - 203.196.89.255
     203.196.91.0 - 203.196.91.255
     203.196.96.0 - 203.196.96.255
     203.196.100.0 - 203.196.100.255
     203.196.104.0 - 203.196.104.255
     203.196.106.0 - 203.196.109.255
     203.196.112.16 - 203.196.112.63
     203.196.113.0 - 203.196.115.95
     203.196.115.160 - 203.196.115.175
     203.196.115.224 - 203.196.115.239
     203.196.116.0 - 203.196.117.31
     203.196.117.96 - 203.196.120.127
     203.196.120.185 - 203.196.120.199
     203.196.120.216 - 203.196.120.222
     203.196.121.160 - 203.196.121.255
     203.196.123.0 - 203.196.124.255
     203.196.126.4 - 203.196.126.7
     203.196.126.12 - 203.196.126.23
     203.196.126.48 - 203.196.126.255
     203.201.188.0 - 203.201.191.255
     203.202.192.0 - 203.202.223.255
     203.202.232.0 - 203.202.233.255
     203.205.0.0 - 203.205.255.255
     203.207.48.0 - 203.207.51.255
     203.208.23.0 - 203.208.23.255
     203.208.197.144 - 203.208.197.159
     203.209.144.0 - 203.209.159.255
     203.209.176.0 - 203.209.179.255
     203.210.88.0 - 203.210.91.255
     203.211.32.0 - 203.211.55.255
     203.211.160.0 - 203.211.255.255
     203.212.32.0 - 203.212.63.255
     203.213.160.0 - 203.213.191.255
     203.215.56.0 - 203.215.59.255
     203.215.128.0 - 203.215.135.255
     203.215.149.0 - 203.215.149.255
     203.215.224.0 - 203.215.231.255
     203.216.0.0 - 203.216.159.255
     203.216.192.0 - 203.216.255.255
     203.217.156.0 - 203.217.159.255
     203.217.180.0 - 203.217.183.255
     203.222.42.104 - 203.222.42.111
     203.222.46.16 - 203.222.46.24
     203.222.46.32 - 203.222.46.255
     203.222.48.0 - 203.222.48.55
     203.222.48.72 - 203.222.48.79
     203.222.48.128 - 203.222.48.159
     203.222.48.192 - 203.222.48.223
     203.222.49.0 - 203.222.50.15
     203.222.50.32 - 203.222.50.255
     203.222.168.0 - 203.222.168.23
     203.222.168.64 - 203.222.168.111
     203.222.168.128 - 203.222.168.191
     203.222.168.208 - 203.222.168.255
     203.222.170.0 - 203.222.170.23
     203.222.170.64 - 203.222.170.135
     203.222.170.160 - 203.222.171.15
     203.222.171.32 - 203.222.171.47
     203.222.171.64 - 203.222.171.127
     203.222.171.192 - 203.222.171.255
     203.222.182.128 - 203.222.182.143
     203.222.184.0 - 203.222.184.255
     203.222.186.0 - 203.222.187.63
     203.222.208.0 - 203.222.255.255
     203.223.24.0 - 203.223.31.255
     203.223.48.0 - 203.223.87.255
     203.223.180.0 - 203.223.183.255
     204.11.49.32 - 204.11.49.39
     204.11.49.168 - 204.11.49.175
     204.13.55.61 - 204.13.55.68
     204.79.67.0 - 204.79.67.255
     204.79.74.0 - 204.79.74.255
     204.79.93.0 - 204.79.93.255
     204.79.110.0 - 204.79.110.255
     204.79.126.0 - 204.79.126.255
     204.79.157.0 - 204.79.158.255
     204.79.218.0 - 204.79.218.255
     204.231.3.0 - 204.231.3.255
     204.231.96.0 - 204.231.96.255
     204.231.230.0 - 204.231.230.255
     204.231.251.0 - 204.231.252.255
     205.214.69.184 - 205.214.69.191
     205.214.71.24 - 205.214.71.31
     205.248.130.0 - 205.248.132.255
     205.248.247.0 - 205.248.247.255
     206.3.0.0 - 206.3.31.255
     206.41.118.224 - 206.41.118.239
     206.41.119.32 - 206.41.119.47
     206.72.121.64 - 206.72.121.71
     206.73.15.0 - 206.73.15.255
     206.73.110.0 - 206.73.110.255
     206.73.210.160 - 206.73.210.191
     206.73.228.32 - 206.73.228.63
     206.73.234.144 - 206.73.234.159
     206.73.235.208 - 206.73.235.223
     206.73.238.0 - 206.73.238.7
     206.73.239.48 - 206.73.239.63
     206.73.244.80 - 206.73.244.95
     206.73.253.0 - 206.73.253.31
     206.125.169.0 - 206.125.169.15
     206.125.172.176 - 206.125.172.183
     206.132.165.208 - 206.132.165.215
     206.143.128.0 - 206.143.255.255
     206.182.108.0 - 206.182.108.255
     206.182.177.128 - 206.182.177.191
     206.182.199.192 - 206.182.199.199
     206.182.201.0 - 206.182.201.31
     206.182.212.16 - 206.182.212.31
     206.182.214.128 - 206.182.214.159
     206.182.217.64 - 206.182.217.95
     206.182.221.104 - 206.182.221.111
     206.182.223.0 - 206.182.223.63
     206.182.231.64 - 206.182.231.79
     206.182.231.96 - 206.182.231.103
     206.182.238.160 - 206.182.238.191
     206.182.250.0 - 206.182.250.31
     206.214.208.146 - 206.214.208.149
     206.214.209.126 - 206.214.209.129
     206.214.209.146 - 206.214.209.149
     206.214.219.239 - 206.214.219.239
     206.214.220.167 - 206.214.220.170
     206.222.12.40 - 206.222.12.47
     206.222.21.64 - 206.222.21.71
     206.225.92.170 - 206.225.92.179
     207.25.102.0 - 207.25.102.255
     207.97.218.120 - 207.97.218.127
     207.97.226.24 - 207.97.226.31
     207.97.251.96 - 207.97.251.111
     207.117.0.0 - 207.117.0.255
     207.117.24.0 - 207.117.24.255
     207.117.41.0 - 207.117.41.255
     207.117.75.0 - 207.117.75.255
     207.117.112.0 - 207.117.112.255
     207.117.186.0 - 207.117.186.255
     207.117.234.0 - 207.117.234.255
     207.209.89.0 - 207.209.89.255
     207.209.104.0 - 207.209.104.255
     207.209.166.0 - 207.209.166.255
     207.209.181.0 - 207.209.181.255
     207.209.193.0 - 207.209.198.255
     207.209.200.0 - 207.209.201.255
     207.209.203.0 - 207.209.203.255
     207.209.255.0 - 207.209.255.127
     208.75.189.176 - 208.75.189.183
     208.75.190.136 - 208.75.190.143
     208.76.220.176 - 208.76.220.183
     208.77.218.40 - 208.77.218.47
     208.79.95.48 - 208.79.95.55
     208.94.240.160 - 208.94.240.175
     208.111.32.160 - 208.111.32.191
     208.112.93.224 - 208.112.93.239
     209.18.99.180 - 209.18.99.189
     209.28.26.0 - 209.28.26.255
     209.28.28.0 - 209.28.28.255
     209.28.30.0 - 209.28.30.255
     209.28.45.0 - 209.28.45.63
     209.28.59.0 - 209.28.59.255
     209.28.244.0 - 209.28.245.255
     209.28.249.0 - 209.28.249.255
     209.28.253.0 - 209.28.253.255
     209.51.210.192 - 209.51.210.223
     209.61.140.24 - 209.61.140.31
     209.61.179.56 - 209.61.179.63
     209.93.43.104 - 209.93.43.111
     209.93.53.48 - 209.93.53.63
     209.93.97.88 - 209.93.97.95
     209.93.100.0 - 209.93.100.127
     209.93.101.0 - 209.93.101.63
     209.93.101.128 - 209.93.101.191
     209.93.107.0 - 209.93.107.127
     209.93.112.64 - 209.93.112.127
     209.93.113.0 - 209.93.113.255
     209.93.120.64 - 209.93.120.95
     209.93.166.128 - 209.93.166.255
     209.93.172.0 - 209.93.172.63
     209.93.175.0 - 209.93.175.63
     209.93.184.0 - 209.93.184.127
     209.93.227.0 - 209.93.227.255
     209.93.237.0 - 209.93.237.127
     209.93.247.0 - 209.93.247.255
     209.93.253.0 - 209.93.253.255
     209.137.141.104 - 209.137.141.111
     209.137.142.128 - 209.137.142.143
     209.137.144.240 - 209.137.144.247
     209.137.146.112 - 209.137.146.127
     209.137.146.144 - 209.137.146.159
     209.137.146.192 - 209.137.146.207
     209.137.146.216 - 209.137.146.255
     209.137.147.192 - 209.137.147.255
     209.137.151.80 - 209.137.151.87
     209.137.154.0 - 209.137.154.15
     209.137.156.192 - 209.137.156.255
     209.190.51.152 - 209.190.51.159
     209.200.87.144 - 209.200.87.151
     209.200.95.64 - 209.200.95.71
     209.239.126.96 - 209.239.126.127
     209.249.200.0 - 209.249.200.7
     210.1.144.0 - 210.1.191.255
     210.2.192.0 - 210.2.255.255
     210.4.160.0 - 210.4.191.255
     210.4.240.0 - 210.4.255.255
     210.7.224.0 - 210.7.224.47
     210.7.224.64 - 210.7.224.111
     210.7.224.128 - 210.7.224.159
     210.7.254.0 - 210.7.255.63
     210.7.255.128 - 210.7.255.159
     210.7.255.184 - 210.7.255.255
     210.14.48.0 - 210.14.63.255
     210.20.0.0 - 210.20.255.255
     210.48.128.0 - 210.48.135.255
     210.48.224.0 - 210.48.255.255
     210.56.160.0 - 210.56.191.255
     210.57.0.0 - 210.57.207.255
     210.79.0.0 - 210.79.15.255
     210.79.32.0 - 210.79.47.255
     210.79.128.0 - 210.79.207.255
     210.80.192.0 - 210.81.255.255
     210.87.64.0 - 210.87.127.255
     210.87.224.0 - 210.87.239.255
     210.88.0.0 - 210.88.111.191
     210.88.111.208 - 210.89.31.255
     210.89.96.0 - 210.89.127.255
     210.89.192.0 - 210.89.255.255
     223.223.224.0 - 223.223.255.255
    Any help is appreciated
    Thanks
     
  2. z3zim4

    z3zim4 Newbie

    Joined:
    Oct 28, 2008
    Messages:
    42
    Likes Received:
    10
    Location:
    Here
    I'm not 100% sure about this but I think you can redirect with HTTP accept language header (no need to use IP lists :))

    Code:
    RewriteEngine on
    RewriteCond %{HTTP:Accept-Language} (ja) [NC]
    RewriteRule .* http://www.google.com/ [R,L]
     
    • Thanks Thanks x 1
  3. ericsson

    ericsson Elite Member Premium Member

    Joined:
    Apr 25, 2009
    Messages:
    2,642
    Likes Received:
    8,132
    Occupation:
    www
    Location:
    Swe
    Home Page:
    Im using.

    Code:
    <?php
    function visitorCountry(){
        $ip = getenv('REMOTE_ADDR');
        $d = file_get_contents("http://www.ipinfodb.com/ip_query_country.php?ip=$ip&output=xml");
     
        //Use backup server if cannot make a connection
        if (!$d){
            $backup = file_get_contents("http://backup.ipinfodb.com/ip_query.php?ip=$ip&output=xml");
            $answer = new SimpleXMLElement($backup);
            if (!$backup) return false; // Failed to open connection
        }else{
            $answer = new SimpleXMLElement($d);
        }
     
        return $answer->CountryCode;
    }  
    ?>
    <?php
    $geolocation = visitorCountry();
    
    if ($geolocation=="US"){header("location:http://Domain For US Visitors Here");exit;}
    if ($geolocation=="CA"){header("location:http://Domain Url For Canada Visitors Here");exit;}
    if ($geolocation=="AU"){header("location:http://Domain Url For Australian Visitors Here");exit;}
    if ($geolocation=="GB"){header("location:http://Domain Url For Great Britain Visitors Here");exit;}
     
    // Send All Other Traffic To:
    header("location:http://All Other Country Ips Redirect Here");exit;  
    ?>
    
    So basically this is my index.php file ;)

    Here is the list of Country Codes.
    Code:
    http://ipinfodb.com/country.txt
     
    • Thanks Thanks x 1
  4. speedy5044

    speedy5044 Regular Member

    Joined:
    Jul 29, 2008
    Messages:
    456
    Likes Received:
    993
    Occupation:
    IM
    Hey ericsson
    Is this script still working for you? i have tried it before and it worked great , i needed to use it again today but it redirect all the countries :confused:
    Appreciate your help
     
  5. ericsson

    ericsson Elite Member Premium Member

    Joined:
    Apr 25, 2009
    Messages:
    2,642
    Likes Received:
    8,132
    Occupation:
    www
    Location:
    Swe
    Home Page:
    Well.. I used it in the past, like 3-4 months ago. And it worked back then..
    I know many affiliates using the same code now as i do. But why Japan?

    Did you add "JP" as in ..

    Code:
    if ($geolocation=="JP"){header("location:http://REDIRECTJAPANUSERSHERE");exit;}
     
  6. speedy5044

    speedy5044 Regular Member

    Joined:
    Jul 29, 2008
    Messages:
    456
    Likes Received:
    993
    Occupation:
    IM
    Wll for the last project it worked great with japan, now im working on another BH method and i need it to work with more countries , so i added the country i need and i checked with proxies but it never redirect

    This is how i put them:
    Code:
    if ($geolocation=="CA"){header("location:http://REDIRECTJAPANUSERSHERE");exit;}
    [/QUOTE]
    Code:
    if ($geolocation=="GB"){header("location:http://REDIRECTJAPANUSERSHERE");exit;}
    [/QUOTE]
    Code:
    if ($geolocation=="FR"){header("location:http://REDIRECTJAPANUSERSHERE");exit;}
    [/QUOTE]
    ....

    Any other site or script beside that one that offer this service? maybe its database is outdated .
    Thanks
     
  7. ericsson

    ericsson Elite Member Premium Member

    Joined:
    Apr 25, 2009
    Messages:
    2,642
    Likes Received:
    8,132
    Occupation:
    www
    Location:
    Swe
    Home Page:
    Did you really tried it from Canadian proxies, etc? .. ipinfodb is quite updated!
     
  8. speedy5044

    speedy5044 Regular Member

    Joined:
    Jul 29, 2008
    Messages:
    456
    Likes Received:
    993
    Occupation:
    IM
    Yup im pretty sure i have tried 3 canadian proxies + uk ... but it keep redirecting all the IP's to the address i put here:
    Code:
    // Send All Other Traffic To:
    header("location:http://All Other Country Ips Redirect Here");exit;  
    ?>