Web Hosting Talk







View Full Version : [htaccess] allow from


sernate
12-13-2004, 09:28 AM
I have a question regarding htaccess, Allow from;

Allow from 10.1.0.0/14
is what im trying to do.. but seems to be not working.


Is it even possible to go lower then /16 ?


Thanks in advance,

dollar
12-13-2004, 10:09 AM
It is possible to go lower than /16, what IP range are you trying to allow?

sernate
12-13-2004, 10:14 AM
10.1.0.0/14 But it seems to be not working.

No further (error) messages as far as I know

dollar
12-13-2004, 10:17 AM
Well i know you're trying to allow /14 :P

What IP range are you looking to allow though?

10.1.0.0 - 10.255.255.255?

sernate
12-13-2004, 10:20 AM
Ah;

allow from 81.68.0.0/14

dollar
12-13-2004, 10:21 AM
figure it out?

sernate
12-13-2004, 10:22 AM
Originally posted by justadollarhostin
figure it out?

What exactly do you mean by that? :)

dollar
12-13-2004, 10:24 AM
I think we are having a mis-communication here.

You are trying to allow a range of IPs access through .htaccess.
You are using the /## method of listing which IPs you want to be able to access your site.
What is the range written out like this:

xxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy

IE. 192.168.0.0-192.168.255.255

sernate
12-13-2004, 10:29 AM
Its monday :P

81.68.0.1 - 81.71.255.254 would be the range

dollar
12-13-2004, 10:45 AM
allow from 81.68.
allow from 81.69.
allow from 81.70.
allow from 81.71.

Flipe.NET
12-13-2004, 11:04 AM
Works now?

sernate
12-13-2004, 11:17 AM
Originally posted by justadollarhostin
allow from 81.68.
allow from 81.69.
allow from 81.70.
allow from 81.71.

Thats just a /16
Already did figure out that part, thanks tho.

But.. my real question is why 81.68.0.0/14 would not work