Re: Defining IPs in one place

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Joshua..
I think the solution to my prob might be:
Define the list of IP's/hostname I want to allowed into /A
Then to a satisfy any on /A - define allowed IP's and the password A
a satisfy all on /B - define the IP's again here and the password B
It seems like this would be the only way to solve this problem..


On 2/6/07, Joshua Slive <joshua@xxxxxxxx > wrote:
On 2/6/07, Liz Kim <lizkim270@xxxxxxxxx > wrote:
> I am allowing over 30 IP's & domain names into certain protected areas..
> Is there a way to define these at one place and call them from the
> <directory> instead of repeating the long list over and over again??

The Include directive lets you include one config file inside another.
So create a protected.conf that lists all your Allow/Deny directives,
and then Include it wherever you'd like.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html > for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux