summaryrefslogtreecommitdiff
path: root/templates/error.erb
blob: 70693feb9f6f54effcab4ec36a263ec12b4b7dcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# vhost to handle inexistent vhosts
<VirtualHost *:80>
  ServerName error.<%= hosting_domain %>
  ServerAlias *.<%= hosting_domain %>
  DocumentRoot <%= scope.lookupvar('apache::error_folder') %>
  ErrorDocument 404 <%= scope.lookupvar('apache::error_dest') %>

  <Directory <%= scope.lookupvar('apache::error_folder') %>>
    DirectoryIndex index.html
    Options Indexes -Includes FollowSymLinks -MultiViews
    AllowOverride None
  </Directory>
</VirtualHost>
# end of vhost to handle inexistent vhosts