From 8ed5baedad8401742a4e64fc1c2a3ba6e3229214 Mon Sep 17 00:00:00 2001 From: Dmitry Teselkin Date: Fri, 31 Oct 2014 09:25:09 +0300 Subject: [PATCH] Fix vhost configuration sections According to https://wiki.apache.org/httpd/CommonMisconfigurations is is wrong to specify server name in opening tag. ServerName should be used instead. Indentations also fixed in some files. Change-Id: Id9d20a672103221efa01be61a174b62706036e57 --- templates/vhost.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/vhost.erb b/templates/vhost.erb index f021697..9980ea4 100644 --- a/templates/vhost.erb +++ b/templates/vhost.erb @@ -1,4 +1,5 @@ -:80> + + ServerName <%= scope.lookupvar("openstackid::vhost_name") %> ServerAdmin <%= scope.lookupvar("openstackid::serveradmin") %> ErrorLog ${APACHE_LOG_DIR}/openstackid-error.log @@ -10,7 +11,7 @@ -:443> + ServerName <%= scope.lookupvar("openstackid::vhost_name") %> ServerAdmin <%= scope.lookupvar("openstackid::serveradmin") %>