File: _aliases.epp

package info (click to toggle)
puppet-module-puppetlabs-apache 12.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,664 kB
  • sloc: ruby: 275; sh: 32; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 752 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  ## Alias declarations for resources outside the DocumentRoot
  <%- $aliases.each |$alias_statement| { -%>
    <%- if $alias_statement["path"] { -%>
      <%- if $alias_statement["alias"] { -%>
  Alias <%= $alias_statement["alias"] %> "<%= $alias_statement["path"] %>"
      <%- }elsif $alias_statement["aliasmatch"] { -%>
  AliasMatch <%= $alias_statement["aliasmatch"] %> "<%= $alias_statement["path"] %>"
      <%- } elsif $alias_statement["scriptalias"] { -%>
  ScriptAlias <%= $alias_statement["scriptalias"] %> "<%= $alias_statement["path"] %>"
      <%- } elsif $alias_statement["scriptaliasmatch"] { -%>
  ScriptAliasMatch <%= $alias_statement["scriptaliasmatch"] %> "<%= $alias_statement["path"] %>"
      <%- } -%>
    <%- } -%>
  <%- } -%>