httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Marcionelli" <mich...@math.ethz.ch>
Subject Include directive
Date Thu, 06 Jun 2002 14:28:27 GMT
Hi everybody,

Can someone help me?
Suppose to have several <Directory> with the same allow,deny values (for
instance a big list of different IP addresses) such as:

    <Directory /path/to/my/directory_j>
        Order deny,allow
        Deny from all
        Allow from aaa.bbb.ccc.ddd eee.fff.ggg.hhh ... ppp.qqq.rrr.sss ...
    </Directory>

where j = 1 ... N (sorry for the notation, but I'm used to ;)

How can avoid to write N time the same "very big allow values"? Ok... I
could do it with copy&paste... but... what about setting up a new IP value
or making a changes?

Is it possible (and how?) to have the IP values in another file? Maybe using
the "Include" directive?

Has someone out there any ideas?

Cheers,
Michele


Mime
View raw message