Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

exlcude my ip from block list


nudylady

Recommended Posts

This is my .htaccess file.

<Limit GET HEAD POST>

order allow,deny

deny from 58.14.0.0/15

deny from 58.16.0.0/16

allow from all

</LIMIT>

 

my ip is 58.14.1.1

I want to allow 58.14.1.1. and block 58.14.0.0/15, 58.16.0.0/16.

I tried but cannot sorted it out.

Link to comment
Share on other sites

Hey Lady!

 

Your "dinger" is stuck!

:lol:

 

But seriously....

:blush:

 

I'm no .htaccess guru, but from what you've posted and what I can Google, I think it should be something like this:

 

<Limit GET HEAD POST>
order allow,deny
deny from 58.14.0.0
deny from 58.14.0.1
deny from 58.14.0.2
deny from 58.14.0.3
deny from 58.14.0.4
deny from 58.14.0.5
deny from 58.14.0.6
deny from 58.14.0.7
deny from 58.14.0.8
deny from 58.14.0.9
deny from 58.14.0.10
deny from 58.14.0.11
deny from 58.14.0.12
deny from 58.14.0.13
deny from 58.14.0.14
deny from 58.14.0.15
deny from 58.16.0.0
deny from 58.16.0.1
deny from 58.16.0.2
deny from 58.16.0.3
deny from 58.16.0.4
deny from 58.16.0.5
deny from 58.16.0.6
deny from 58.16.0.7
deny from 58.16.0.8
deny from 58.16.0.9
deny from 58.16.0.10
deny from 58.16.0.11
deny from 58.16.0.12
deny from 58.16.0.13
deny from 58.16.0.14
deny from 58.16.0.15
deny from 58.16.0.16
allow from all
</LIMIT>

Like I said, I'm no "pro" at this so use at your own risk...

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...