From caa691d2e81851307fe0d1283f31cc3029fcb403 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Mon, 8 Feb 2016 01:39:18 +0200 Subject: fix up vhostdir variable lookup --- deployment/websites/templates/vhost_static.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'deployment/websites') diff --git a/deployment/websites/templates/vhost_static.conf b/deployment/websites/templates/vhost_static.conf index 2d3f4c44..d250a712 100644 --- a/deployment/websites/templates/vhost_static.conf +++ b/deployment/websites/templates/vhost_static.conf @@ -1,7 +1,7 @@ ServerName static.<%= domain %> - DocumentRoot <%= vhostdir %> + DocumentRoot <%= scope.lookupvar("websites::static::vhostdir") %> CustomLog /var/log/httpd/static_log combined ErrorLog /var/log/httpd/error_static_log @@ -26,13 +26,13 @@ Allow from all - > + > Order deny,allow Deny from All AllowOverride None - /g> + /g> Order deny,allow Allow from All AllowOverride None @@ -42,7 +42,7 @@ ServerName static.<%= domain %> - DocumentRoot <%= vhostdir %> + DocumentRoot <%= scope.lookupvar("websites::static::vhostdir") %> CustomLog /var/log/httpd/static_log combined ErrorLog /var/log/httpd/error_static_log @@ -69,13 +69,13 @@ Allow from all - > + > Order deny,allow Deny from All AllowOverride None - /g> + /g> Order deny,allow Allow from All AllowOverride None -- cgit v1.2.1