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

Finalizat Postat la Feb 14, 2011 S-au achitat serviciile după ce au fost prestate
Finalizat S-au achitat serviciile după ce au fost prestate

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.

ID Proiect: #3102131

Detalii despre proiect

5 propuneri Proiect la distanță Activ Feb 14, 2011

Acordat lui:

cevouk

See private message.

%selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD în 1 zi
(187 Recenzii)
7.2

5 freelanceri plasează o ofertă medie de 90$ pentru proiect

matfizvw

See private message.

$21.25 USD în 1 zi
(58 recenzii)
6.0
hashdkas

See private message.

$15.3 USD în 1 zi
(8 recenzii)
4.1
biopsy

See private message.

$17 USD în 1 zi
(7 recenzii)
3.4
phpredheads

See private message.

$25.5 USD în 1 zi
(8 recenzii)
1.4
vw7900976vw

See private message.

$361.25 USD în 1 zi
(1 părere)
0.0