Skip to content

Commit b273bfb

Browse files
committed
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
1 parent 586bcf7 commit b273bfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/vhosts.conf.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
ServerAlias {{ vhost.serveralias }}
99
{% endif %}
1010
{% if vhost.documentroot is defined %}
11-
DocumentRoot {{ vhost.documentroot }}
11+
DocumentRoot "{{ vhost.documentroot }}"
1212
{% endif %}
1313

1414
{% if vhost.serveradmin is defined %}
@@ -42,7 +42,7 @@
4242
ServerAlias {{ vhost.serveralias }}
4343
{% endif %}
4444
{% if vhost.documentroot is defined %}
45-
DocumentRoot {{ vhost.documentroot }}
45+
DocumentRoot "{{ vhost.documentroot }}"
4646
{% endif %}
4747

4848
SSLEngine on

0 commit comments

Comments
 (0)