Author: olamy
Date: Wed Jan 2 20:47:08 2013
New Revision: 1428023
URL: http://svn.apache.org/viewvc?rev=1428023&view=rev
Log:
better 404 error
Added:
archiva/site/src/site/apt/errors/
archiva/site/src/site/apt/errors/404.apt (with props)
Modified:
archiva/site/src/site/filtered-resources/.htaccess
Added: archiva/site/src/site/apt/errors/404.apt
URL:
http://svn.apache.org/viewvc/archiva/site/src/site/apt/errors/404.apt?rev=1428023&view=auto
==============================================================================
--- archiva/site/src/site/apt/errors/404.apt (added)
+++ archiva/site/src/site/apt/errors/404.apt Wed Jan 2 20:47:08 2013
@@ -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}}.
Propchange: archiva/site/src/site/apt/errors/404.apt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/site/src/site/apt/errors/404.apt
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Modified: archiva/site/src/site/filtered-resources/.htaccess
URL:
http://svn.apache.org/viewvc/archiva/site/src/site/filtered-resources/.htaccess?rev=1428023&r1=1428022&r2=1428023&view=diff
==============================================================================
--- archiva/site/src/site/filtered-resources/.htaccess (original)
+++ archiva/site/src/site/filtered-resources/.htaccess Wed Jan 2 20:47:08 2013
@@ -1,3 +1,4 @@
+ErrorDocument 404 /errors/404.html
Redirect Permanent /reports
http://archiva.apache.org/ref/${archivaReleaseVersion}
Redirect /download.html /download.cgi
Redirect /index.html /index.cgi