diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-11-08 20:23:16 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-11-08 20:23:16 -0200 |
commit | 3d80a9fc39137f235c0527d77acfa4c4e4706624 (patch) | |
tree | 35bf36c9609e00829f6aaea2a51f7d6de71982b1 /templates | |
parent | 49b5e7da0671ff84e73544c711e7f87fbb58ec36 (diff) | |
download | puppet-apache-3d80a9fc39137f235c0527d77acfa4c4e4706624.tar.gz puppet-apache-3d80a9fc39137f235c0527d77acfa4c4e4706624.tar.bz2 |
Adding template for error page
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 |