From f2247604936e39c5e7c81ca59b9ced07c99aaa02 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Wed, 26 Oct 2011 12:31:29 +0000
Subject: [PATCH] Redirect from http://opendj.forgerock.org/doc/ to the page listing the docs at http://opendj.forgerock.org/docs.html

---
 opendj3/src/main/resources/docs-redirect/index.html |   12 ++++++++++++
 opendj3/pom.xml                                     |    6 ++++++
 2 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/opendj3/pom.xml b/opendj3/pom.xml
index 3356db2..d492e3e 100644
--- a/opendj3/pom.xml
+++ b/opendj3/pom.xml
@@ -546,6 +546,12 @@
                     <include>**/*.rtf</include>
                   </includes>
                 </resource>
+                <resource>
+                  <directory>${basedir}/src/main/resources/docs-redirect</directory>
+                  <includes>
+                    <include>**/index.html</include>
+                  </includes>
+                </resource>
               </resources>
             </configuration>
           </execution>
diff --git a/opendj3/src/main/resources/docs-redirect/index.html b/opendj3/src/main/resources/docs-redirect/index.html
new file mode 100644
index 0000000..d80262e
--- /dev/null
+++ b/opendj3/src/main/resources/docs-redirect/index.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<title>Redirecting to the OpenDJ docs page</title>
+<meta http-equiv="refresh" content="2;url=http://opendj.forgerock.org/docs.html">
+</head>
+<body>
+ <p>This page will redirect you to
+ <a href="http://opendj.forgerock.org/docs.html">the OpenDJ docs page</a>
+ momentarily.</p>
+</body>
+</html>

--
Gitblit v1.10.0