summaryrefslogtreecommitdiff
path: root/templates/error.erb
blob: e0dbb0e950d9b959b29a1cc010c4b11fdfba6b5b (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 <%= apache_error_folder %>
  ErrorDocument 404 <%= apache_error_dest %>

  <Directory <%= apache_error_folder %>>
    DirectoryIndex index.html
    Options Indexes -Includes FollowSymLinks -MultiViews
    AllowOverride None
  </Directory>
</VirtualHost>
# end of vhost to handle inexistent vhosts