summaryrefslogtreecommitdiffstats
path: root/modules/core/test/conf/test40.conf
blob: e6b81f7a6fb7120fd111ef68276827d3d925dd00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# configuration example with mod_macro
#

<VirtualHost www.foo.com>
  DocumentRoot /foo/document/root/directory

  <Macro SubDirAccessControl $subdir>
    # access control to subdirs...
    <Location /$subdir>
      Warning "location /$subdir"
    </Location>
  </Macro>

  # repeat uses
  Use SubDirAccessControl A
  Use SubDirAccessControl B
  Use SubDirAccessControl C
  Use SubDirAccessControl D
  Use SubDirAccessControl E
  Use SubDirAccessControl G
  Use SubDirAccessControl H
  Use SubDirAccessControl J
  Use SubDirAccessControl K
  Use SubDirAccessControl L
  Use SubDirAccessControl M
  Use SubDirAccessControl N

  # cleanup
  UndefMacro SubDirAccessControl

</VirtualHost>

Error Stop configuration file processing.