add 404 error document
diff --git a/src/site/apt/errors/404.apt b/src/site/apt/errors/404.apt
new file mode 100644
index 0000000..3530bb7
--- /dev/null
+++ b/src/site/apt/errors/404.apt
@@ -0,0 +1,38 @@
+ -----
+ Page Not found
+ -----
+ -----
+
+~~ Licensed to the Apache Software Foundation (ASF) under one
+~~ or more contributor license agreements.  See the NOTICE file
+~~ distributed with this work for additional information
+~~ regarding copyright ownership.  The ASF licenses this file
+~~ to you under the Apache License, Version 2.0 (the
+~~ "License"); you may not use this file except in compliance
+~~ with the License.  You may obtain a copy of the License at
+~~
+~~   http://www.apache.org/licenses/LICENSE-2.0
+~~
+~~ Unless required by applicable law or agreed to in writing,
+~~ software distributed under the License is distributed on an
+~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+~~ KIND, either express or implied.  See the License for the
+~~ specific language governing permissions and limitations
+~~ under the License.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+Page Not Found
+
+    We're sorry, but the page you requested cannot be found. This may be because:
+
+    * The page has moved, was outdated, or has not been created yet
+
+    * You typed the address incorrectly
+
+    * You followed a link from another site that pointed to this page
+
+    []
+
+    If you came to this page by following a broken link on our site, you can report the {{{http://jira.codehaus.org/browse/MRM} problem}}.
diff --git a/src/site/resources/.htaccess b/src/site/resources/.htaccess
new file mode 100644
index 0000000..dc4abe9
--- /dev/null
+++ b/src/site/resources/.htaccess
@@ -0,0 +1 @@
+ErrorDocument 404 http://archiva.apache.org/redback/errors/404.html
\ No newline at end of file