mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-11-08 15:03:30 +01:00
The documentroot paths for the vhosts were not encapsulated in quotes which would cause an apache error for paths with spaces or other restricted characters
This commit is contained in:
parent
586bcf7845
commit
b273bfb2c3
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
ServerAlias {{ vhost.serveralias }}
|
ServerAlias {{ vhost.serveralias }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if vhost.documentroot is defined %}
|
{% if vhost.documentroot is defined %}
|
||||||
DocumentRoot {{ vhost.documentroot }}
|
DocumentRoot "{{ vhost.documentroot }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if vhost.serveradmin is defined %}
|
{% if vhost.serveradmin is defined %}
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
ServerAlias {{ vhost.serveralias }}
|
ServerAlias {{ vhost.serveralias }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if vhost.documentroot is defined %}
|
{% if vhost.documentroot is defined %}
|
||||||
DocumentRoot {{ vhost.documentroot }}
|
DocumentRoot "{{ vhost.documentroot }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
|
|
Loading…
Reference in a new issue