- template: {{ apache.get('template_engine', 'jinja') }} | - template: {{ apache.get('template_engine', 'jinja') }} | ||||
- makedirs: True | - makedirs: True | ||||
- context: | - context: | ||||
apache: {{ apache|json }} | |||||
svcname: {{ apache.service.name }} | |||||
- require: | - require: | ||||
- pkg: apache-package-install-pkg-installed | - pkg: apache-package-install-pkg-installed | ||||
- watch_in: | - watch_in: |
- makedirs: True | - makedirs: True | ||||
- template: {{ apache.get('template_engine', 'jinja') }} | - template: {{ apache.get('template_engine', 'jinja') }} | ||||
- context: | - context: | ||||
apache: {{ apache|json }} | |||||
svcname: {{ apache.service.name }} | |||||
- require: | - require: | ||||
- pkg: apache-package-install-pkg-installed | - pkg: apache-package-install-pkg-installed | ||||
- watch_in: | - watch_in: |
- makedirs: True | - makedirs: True | ||||
- template: {{ apache.get('template_engine', 'jinja') }} | - template: {{ apache.get('template_engine', 'jinja') }} | ||||
- context: | - context: | ||||
apache: {{ apache|json }} | |||||
svcname: {{ apache.service.name }} | |||||
- watch_in: | - watch_in: | ||||
- module: apache-service-running-restart | - module: apache-service-running-restart | ||||
- require_in: | - require_in: | ||||
- makedirs: True | - makedirs: True | ||||
- template: {{ apache.get('template_engine', 'jinja') }} | - template: {{ apache.get('template_engine', 'jinja') }} | ||||
- context: | - context: | ||||
apache: {{ apache|json }} | |||||
svcname: {{ apache.service.name }} | |||||
- require: | - require: | ||||
- pkg: apache-package-install-pkg-installed | - pkg: apache-package-install-pkg-installed | ||||
- watch_in: | - watch_in: |
- makedirs: True | - makedirs: True | ||||
- template: {{ apache.get('template_engine', 'jinja') }} | - template: {{ apache.get('template_engine', 'jinja') }} | ||||
- context: | - context: | ||||
apache: {{ apache|json }} | |||||
svcname: {{ apache.service.name }} | |||||
- require: | - require: | ||||
- pkg: apache-package-install-pkg-installed | - pkg: apache-package-install-pkg-installed | ||||
- watch_in: | - watch_in: |
- makedirs: True | - makedirs: True | ||||
- template: {{ apache.get('template_engine', 'jinja') }} | - template: {{ apache.get('template_engine', 'jinja') }} | ||||
- context: | - context: | ||||
apache: {{ apache|json }} | |||||
svcname: {{ apache.service.name }} | |||||
- require: | - require: | ||||
- pkg: apache-package-install-pkg-installed | - pkg: apache-package-install-pkg-installed | ||||
- watch_in: | - watch_in: |
- makedirs: True | - makedirs: True | ||||
- template: {{ apache.get('template_engine', 'jinja') }} | - template: {{ apache.get('template_engine', 'jinja') }} | ||||
- context: | - context: | ||||
apache: {{ apache|json }} | |||||
svcname: {{ apache.service.name }} | |||||
- require: | - require: | ||||
- pkg: apache-package-install-pkg-installed | - pkg: apache-package-install-pkg-installed | ||||
- watch_in: | - watch_in: |
- makedirs: True | - makedirs: True | ||||
- template: {{ apache.get('template_engine', 'jinja') }} | - template: {{ apache.get('template_engine', 'jinja') }} | ||||
- context: | - context: | ||||
apache: {{ apache|json }} | |||||
svcname: {{ apache.service.name }} | |||||
- require: | - require: | ||||
- pkg: apache-package-install-pkg-installed | - pkg: apache-package-install-pkg-installed | ||||
- watch_in: | - watch_in: |
<IfModule !mpm_prefork_module> | <IfModule !mpm_prefork_module> | ||||
LoadModule cgid_module libexec/{{ apache.service.name }}/mod_cgid.so | |||||
LoadModule cgid_module libexec/{{ svcname }}/mod_cgid.so | |||||
</IfModule> | </IfModule> | ||||
<IfModule mpm_prefork_module> | <IfModule mpm_prefork_module> | ||||
LoadModule cgi_module libexec/{{ apache.service.name }}/mod_cgi.so | |||||
LoadModule cgi_module libexec/{{ svcname }}/mod_cgi.so | |||||
</IfModule> | </IfModule> |
LoadModule perl_module libexec/{{ apache.service.name }}/mod_perl.so | |||||
LoadModule perl_module libexec/{{ svcname }}/mod_perl.so |
LoadModule php5_module /usr/local/libexec/{{ apache.service.name }}/libphp5.so | |||||
LoadModule php5_module /usr/local/libexec/{{ svcname }}/libphp5.so | |||||
DirectoryIndex index.html index.php | DirectoryIndex index.html index.php | ||||
LoadModule proxy_module libexec/{{ apache.service.name }}/mod_proxy.so | |||||
LoadModule proxy_module libexec/{{ svcname }}/mod_proxy.so |
LoadModule proxy_http_module libexec/{{ apache.service.name }}/mod_proxy_http.so | |||||
LoadModule proxy_http_module libexec/{{ svcname }}/mod_proxy_http.so |
LoadModule rewrite_module libexec/{{ apache.service.name }}/mod_rewrite.so | |||||
LoadModule rewrite_module libexec/{{ svcname }}/mod_rewrite.so |
LoadModule suexec_module libexec/{{ apache.service.name }}/mod_suexec.so | |||||
LoadModule suexec_module libexec/{{ svcname }}/mod_suexec.so |