Blocking access to our site in a country excluding our IP address

Completed Posted Feb 14, 2011 Paid on delivery
Completed Paid on delivery

We wanted to block access to our site in a country. We will be doing this through .htaccess and giving country's IP ranges/CIDR.

e.g

*ErrorDocument 403 [url removed, login to view]

<Limit GET HEAD POST>

order allow,deny

deny from 14.192.128.0/19

deny from 27.54.120.0/22

deny from 27.96.88.0/22

deny from 27.255.0.0/18

deny from 58.27.128.0/17

allow from all

</LIMIT>*

Now the issue is our own 1 IP address (static) lies in the ranges (e.g in *14.192.128.0/19)* and we wanted to exclude our IP address from ban list however the rest of IPs in the range should remained ban.

P.S: Our webserver is apache.

Project ID: #3102131

About the project

5 proposals Remote project Active Feb 14, 2011

Awarded to:

cevouk

See private message.

$25.5 USD in 1 day
(187 Reviews)
7.2

5 freelancers are bidding on average $90 for this job

matfizvw

See private message.

$21.25 USD in 1 day
(58 Reviews)
6.0
hashdkas

See private message.

$15.3 USD in 1 day
(8 Reviews)
4.1
biopsy

See private message.

$17 USD in 1 day
(7 Reviews)
3.4
phpredheads

See private message.

$25.5 USD in 1 day
(8 Reviews)
1.4
vw7900976vw

See private message.

$361.25 USD in 1 day
(1 Review)
0.0