You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@logging.apache.org by ca...@apache.org on 2007/09/01 06:48:03 UTC
svn commit: r571686 -
/logging/site/trunk/author/src/site/resources/log4j/docs/.htaccess
Author: carnold
Date: Fri Aug 31 21:48:02 2007
New Revision: 571686
URL: http://svn.apache.org/viewvc?rev=571686&view=rev
Log:
Add redirects for some old log4j/docs pages
Added:
logging/site/trunk/author/src/site/resources/log4j/docs/.htaccess
Added: logging/site/trunk/author/src/site/resources/log4j/docs/.htaccess
URL: http://svn.apache.org/viewvc/logging/site/trunk/author/src/site/resources/log4j/docs/.htaccess?rev=571686&view=auto
==============================================================================
--- logging/site/trunk/author/src/site/resources/log4j/docs/.htaccess (added)
+++ logging/site/trunk/author/src/site/resources/log4j/docs/.htaccess Fri Aug 31 21:48:02 2007
@@ -0,0 +1,26 @@
+# 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.
+
+<IfModule mod_rewrite.c>
+ RewriteEngine on
+ #
+ # rewrite site requests to equivalent new URLs
+ #
+ RewriteRule ^chainsaw\.html$ http://logging.apache.org/chainsaw/index.html [R=permanent,L]
+ RewriteRule ^install-chainsaw\.html$ http://logging.apache.org/chainsaw/index.html [R=permanent,L]
+ RewriteRule ^index\.html$ http://logging.apache.org/log4j/1.2/index.html [R=permanent,L]
+ RewriteRule ^download\.html$ http://logging.apache.org/log4j/1.2/download.html [R=permanent,L]
+ RewriteRule ^manual\.html$ http://logging.apache.org/log4j/1.2/manual.html [R=permanent,L]
+</IfModule>