Apache Web-Serving with Mac OS X: Part 3
Subject:   Allow from....
Date:   2002-03-22 03:38:26
From:   redleader

I want to set allow from to a batch of IP numbers, namely:

any 90.0.0.*
any 127.0.0.*

I read the apache manual and tried;

Allow from 90.0 but it did not work and also it did not mention multiple IP range allows.

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Morbus Iff photo Allow from....
    2002-03-22 09:02:04  Morbus Iff | O'Reilly Author [View]

    Allow from 90.0 should have definitely worked for you - when you were denied, did you check your error_log file to see the matching IP that it was denying? If you're previewing locally, it may have seen you as 127.0 instead.

    As for multiple ranges, just replicate the "Allow from" line - you can have as many as you want:

    Allow from 90.0.0
    Allow from 127.0.0