summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_wordpress/php_wordpress.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/php_wordpress/php_wordpress.erb')
-rw-r--r--templates/vhosts/php_wordpress/php_wordpress.erb10
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/vhosts/php_wordpress/php_wordpress.erb b/templates/vhosts/php_wordpress/php_wordpress.erb
index 3b06fae..2811749 100644
--- a/templates/vhosts/php_wordpress/php_wordpress.erb
+++ b/templates/vhosts/php_wordpress/php_wordpress.erb
@@ -4,7 +4,10 @@
<%- end -%>
<%- unless ssl_mode.to_s == 'only' then -%>
<VirtualHost *:80>
-<%= scope.function_template('apache/vhosts/partials/header_default.erb') %>
+<% scope.unsetvar('vhost_part')
+ scope.setvar('vhost_part',:normal) -%>
+ <%= scope.function_template('apache/vhosts/partials/header_default.erb') %>
+<% scope.unsetvar('vhost_part') -%>
<%= scope.function_template('apache/vhosts/partials/logs.erb') %>
@@ -99,7 +102,10 @@
<IfDefine !HttpdLocal>
<%- unless ssl_mode.to_s == 'only' then -%>
<VirtualHost *:80>
-<%= scope.function_template('apache/vhosts/partials/header_default.erb') %>
+<% scope.unsetvar('vhost_part')
+ scope.setvar('vhost_part',:normal) -%>
+ <%= scope.function_template('apache/vhosts/partials/header_default.erb') %>
+<% scope.unsetvar('vhost_part') -%>
DirectoryIndex index.htm index.html index.php
<%= scope.function_template('apache/vhosts/partials/logs.erb') %>