summaryrefslogtreecommitdiff
path: root/templates/error.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/error.erb')
-rw-r--r--templates/error.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/error.erb b/templates/error.erb
index 4e13d60..27a2c8e 100644
--- a/templates/error.erb
+++ b/templates/error.erb
@@ -1,7 +1,7 @@
# vhost to handle inexistent vhosts
<VirtualHost *:<%= scope.lookupvar('apache::http_port') %>>
- ServerName error.<%= hosting_domain %>
- ServerAlias *.<%= hosting_domain %>
+ ServerName error.<%= @hosting_domain %>
+ ServerAlias *.<%= @hosting_domain %>
DocumentRoot <%= scope.lookupvar('apache::error_folder') %>
ErrorDocument 404 <%= scope.lookupvar('apache::error_dest') %>