Browse Source

apache.global for Debian and FreeBSD

tags/v0.37.4
Alexander Weidinger 8 years ago
parent
commit
9f796f0b6a
3 changed files with 12 additions and 0 deletions
  1. +4
    -0
      apache/files/Debian/apache-2.2.config.jinja
  2. +4
    -0
      apache/files/Debian/apache-2.4.config.jinja
  3. +4
    -0
      apache/files/FreeBSD/apache-2.4.config.jinja

+ 4
- 0
apache/files/Debian/apache-2.2.config.jinja View File

LogFormat "%{Referer}i -> %U" referer LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent LogFormat "%{User-agent}i" agent


{%- for directive, dvalue in salt['pillar.get']('apache:global', {}).items() %}
{{ directive }} {{ dvalue }}
{%- endfor %}

# Include of directories ignores editors' and dpkg's backup files, # Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details. # see README.Debian for details.



+ 4
- 0
apache/files/Debian/apache-2.4.config.jinja View File

LogFormat {{ log_format }} LogFormat {{ log_format }}
{%- endfor %} {%- endfor %}


{%- for directive, dvalue in salt['pillar.get']('apache:global', {}).items() %}
{{ directive }} {{ dvalue }}
{%- endfor %}

# Include of directories ignores editors' and dpkg's backup files, # Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details. # see README.Debian for details.



+ 4
- 0
apache/files/FreeBSD/apache-2.4.config.jinja View File

# below. # below.
# #


{%- for directive, dvalue in salt['pillar.get']('apache:global', {}).items() %}
{{ directive }} {{ dvalue }}
{%- endfor %}

{% if apache.global_document_root is defined and apache.global_document_root|length > 0 %} {% if apache.global_document_root is defined and apache.global_document_root|length > 0 %}
# #
# DocumentRoot: The directory out of which you will serve your # DocumentRoot: The directory out of which you will serve your

Loading…
Cancel
Save