Allow or Deny from large numbers of hosts
Christopher Schultz <[email protected]> Fri, 21 Mar 2025 09:00:52 -0400
| Newsgroups | gmane.comp.apache.user |
|---|---|
| Message-ID | <[email protected]> |
All,
Is there a way to load a bunch of allow or deny hosts from a file or
other data-store? I have several dozen CIDR expressions and they will
need to change periodically, so it would be more convenient if I could
load them from at least a file on the disk and clean-up my config a bit.
I suppose I could
Include my-allows.conf
Include my-denies.conf
And then use awk/sed/whatever to convert the lists of hosts into "Allow
from [host]" and "Deny from [host]" but less tooling would be more
convenient, of course.
-chris