aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-08-28 16:24:55 +0000
committerPascal Terjan <pterjan@mageia.org>2012-08-28 16:24:55 +0000
commit391bf8dfb1aa9d33fef20442ae41d1a8e0e88366 (patch)
tree3356a65a103386a5345c5f220d33bea50e006bfa /modules/apache
parent76e9950d693ee0f856c6b07b29bf07c99ed7d9fe (diff)
downloadpuppet-391bf8dfb1aa9d33fef20442ae41d1a8e0e88366.tar
puppet-391bf8dfb1aa9d33fef20442ae41d1a8e0e88366.tar.gz
puppet-391bf8dfb1aa9d33fef20442ae41d1a8e0e88366.tar.bz2
puppet-391bf8dfb1aa9d33fef20442ae41d1a8e0e88366.tar.xz
puppet-391bf8dfb1aa9d33fef20442ae41d1a8e0e88366.zip
Patch from romain setting custom 404 for www
Diffstat (limited to 'modules/apache')
-rw-r--r--modules/apache/templates/00_default_vhosts.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/apache/templates/00_default_vhosts.conf b/modules/apache/templates/00_default_vhosts.conf
index 25f59b5e..b045315f 100644
--- a/modules/apache/templates/00_default_vhosts.conf
+++ b/modules/apache/templates/00_default_vhosts.conf
@@ -4,4 +4,5 @@
Allow from all
</Location>
Redirect / http://www.<%= domain %>/
+ ErrorDocument 404 /var/www/html/404.php
</VirtualHost>