diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/error.erb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/error.erb b/templates/error.erb new file mode 100644 index 0000000..5e2cf5f --- /dev/null +++ b/templates/error.erb @@ -0,0 +1,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 |