try this:

http_access allowedpc src 192.168.1.150-192.168.1.165
http_access allow allowedpc

hth,

jon

david t. asuncion, jr. wrote:
How do I allow access for a certain IP range only, e.g. 192.168.1.150-192.168.1.165/255.255.255.0?

#############################################################
http_access allowedpc src 192.168.1.150-192.168.1.165 /255.255.255.0

http_access allow allowedpc
#############################################################

...... the above config didn't didn't worked for me.

What worked for me, however, is

##################################################################################
http_access allowedpc src 192.168.1.150 192.168.1.151  192.168.1.152 till it reached 192.168.1.165

http_access allow allowedpc
##################################################################################

I got a feeling there is a better way how to do it.  Please let me know.  Still a newbie, always.

--
David Tacasa Asuncion, Jr.
website keeper, forever linux newbie, BUM extraordinaire

Linux User # 406430
http://counter.li.org/

GPG: 0A024BC0

_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

-- 
MZ


_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to