manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1240139 - in /incubator/lcf/trunk: build.xml site/.htaccess
Date Fri, 03 Feb 2012 12:42:21 GMT
Author: kwright
Date: Fri Feb  3 12:42:20 2012
New Revision: 1240139

URL: http://svn.apache.org/viewvc?rev=1240139&view=rev
Log:
Introduce an .htaccess file to make sure old links are properly redirected.

Added:
    incubator/lcf/trunk/site/.htaccess   (with props)
Modified:
    incubator/lcf/trunk/build.xml

Modified: incubator/lcf/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/build.xml?rev=1240139&r1=1240138&r2=1240139&view=diff
==============================================================================
--- incubator/lcf/trunk/build.xml (original)
+++ incubator/lcf/trunk/build.xml Fri Feb  3 12:42:20 2012
@@ -901,6 +901,11 @@
                 <exclude name="**/broken-links.xml"/>
               </fileset>
           </copy>
+          <copy todir="dist/doc">
+              <fileset dir="site">
+                  <include name=".htaccess"/>
+              </fileset>
+          </copy>
     </target>
 
     <target name="preclean-for-delivery">

Added: incubator/lcf/trunk/site/.htaccess
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/site/.htaccess?rev=1240139&view=auto
==============================================================================
--- incubator/lcf/trunk/site/.htaccess (added)
+++ incubator/lcf/trunk/site/.htaccess Fri Feb  3 12:42:20 2012
@@ -0,0 +1,32 @@
+# 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.
+
+Options +FollowSymlinks
+RewriteEngine on
+rewriterule connectors/end-user-documentation.html$ http://incubator.apache.org/connectors/en_US/end-user-documentation.html
[r=301,nc] 
+rewriterule connectors/end-user-documentation.pdf$ http://incubator.apache.org/connectors/en_US/end-user-documentation.pdf
[r=301,nc] 
+rewriterule connectors/how-to-build-and-deploy.html$ http://incubator.apache.org/connectors/en_US/how-to-build-and-deploy.html
[r=301,nc] 
+rewriterule connectors/developer-resources.html$ http://incubator.apache.org/connectors/en_US/developer-resources.html
[r=301,nc] 
+rewriterule connectors/mail.html$ http://incubator.apache.org/connectors/en_US/mail.html
[r=301,nc] 
+rewriterule connectors/download.html$ http://incubator.apache.org/connectors/en_US/download.html
[r=301,nc] 
+rewriterule connectors/javadoc.html$ http://incubator.apache.org/connectors/en_US/javadoc.html
[r=301,nc] 
+rewriterule connectors/faq.html$ http://incubator.apache.org/connectors/en_US/faq.html [r=301,nc]

+rewriterule connectors/concepts.html$ http://incubator.apache.org/connectors/en_US/concepts.html
[r=301,nc] 
+rewriterule connectors/performance-tuning.html$ http://incubator.apache.org/connectors/en_US/performance-tuning.html
[r=301,nc] 
+rewriterule connectors/javadoc.html$ http://incubator.apache.org/connectors/en_US/javadoc.html
[r=301,nc] 
+rewriterule connectors/who.html$ http://incubator.apache.org/connectors/en_US/who.html [r=301,nc]

+rewriterule connectors/script.html$ http://incubator.apache.org/connectors/en_US/script.html
[r=301,nc] 
+rewriterule connectors/programmatic-operation.html$ http://incubator.apache.org/connectors/en_US/programmatic-operation.html
[r=301,nc] 
+rewriterule connectors/included-connectors.html$ http://incubator.apache.org/connectors/en_US/included-connectors.html
[r=301,nc] 

Propchange: incubator/lcf/trunk/site/.htaccess
------------------------------------------------------------------------------
    svn:eol-style = LF



Mime
View raw message