Custom ErrorDocument 404
[mirror/dsa-puppet.git] / modules / apache2 / files / common / etc / apache2 / sites-available / www.debian.org
index b0dae6f..667ab16 100644 (file)
@@ -1,3 +1,8 @@
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+
 # Need to turn on negotiation_module
 <Directory /srv/www.debian.org/www/>
   Options +MultiViews +FollowSymLinks +Indexes
@@ -84,6 +89,7 @@
    ErrorLog /var/log/apache2/www-other.debian.org-error.log
    CustomLog /var/log/apache2/www-other.debian.org-access.log combined
    RewriteLog /var/log/apache2/www-other.debian.org-recirect.log
+   RewriteLogLevel 1
 
    RewriteEngine on
    RewriteRule ^/(.*)$ http://www.debian.org/$1 [R=301,L]
    # this behavior, and proxies will be allowed to cache the documents.
    CacheNegotiatedDocs On
 
+# Custom Error
+   ErrorDocument 404 /errors/404
+
 # the joys of backwards compatibility
    Redirect /cgi-bin/cvsweb http://cvs.debian.org
    Redirect /Lists-Archives http://lists.debian.org