From b273bfb2c3fe5398e632434189c7881c2a1ea009 Mon Sep 17 00:00:00 2001 From: maestrojed Date: Mon, 8 May 2017 21:24:48 -0400 Subject: [PATCH] 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 --- templates/vhosts.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/vhosts.conf.j2 b/templates/vhosts.conf.j2 index 2ec5279..8b7af90 100644 --- a/templates/vhosts.conf.j2 +++ b/templates/vhosts.conf.j2 @@ -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