Forum Moderators: phranque

Message Too Old, No Replies

IP Deny & Allow

Inside a LAN?

         

chriswragg

3:42 pm on Jul 27, 2005 (gmt 0)

10+ Year Member



I have an Apache sever running on my Windows box inside my LAN. Can I allow access to this server ONLY from my computer?

I have tried the following code, which doesn't work. My Local IP is 192.168.8.2.

Order Allow,Deny
Allow from 192.168.8.2
Deny from all

Is this wrong or is it not possible?

Thanks
Chris

chriswragg

3:51 pm on Jul 27, 2005 (gmt 0)

10+ Year Member



Sorry please ignore this post.

I was viewing the page from [localhost,...] so I just needed to add localhost to the Allow from line