summaryrefslogtreecommitdiff
path: root/templates/error.erb
blob: 5e2cf5f4c41f7369d8fb84066cc702e2a2dc3d60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# vhost to handle inexistent vhosts
<VirtualHost *:80>
  ServerName error.<%= domain %>
  ServerAlias *.<%= domain %>
  DocumentRoot <%= apache_error_folder %>
  ErrorDocument 404 <%= apache_error_dest %>

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