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:
maestrojed 2017-05-08 21:24:48 -04:00
parent 586bcf7845
commit b273bfb2c3

View file

@ -8,7 +8,7 @@
ServerAlias {{ vhost.serveralias }}
{% endif %}
{% if vhost.documentroot is defined %}
DocumentRoot {{ vhost.documentroot }}
DocumentRoot "{{ vhost.documentroot }}"
{% endif %}
{% if vhost.serveradmin is defined %}
@ -42,7 +42,7 @@
ServerAlias {{ vhost.serveralias }}
{% endif %}
{% if vhost.documentroot is defined %}
DocumentRoot {{ vhost.documentroot }}
DocumentRoot "{{ vhost.documentroot }}"
{% endif %}
SSLEngine on