qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kw...@apache.org
Subject svn commit: r1574239 - /qpid/site/docs/.htaccess
Date Tue, 04 Mar 2014 23:19:01 GMT
Author: kwall
Date: Tue Mar  4 23:19:01 2014
New Revision: 1574239

URL: http://svn.apache.org/r1574239
Log:
NO-JIRA: Add site rewriting rules redirecting old trunk documentation locations to the new
beneath /releases/qpid-trunk/

Modified:
    qpid/site/docs/.htaccess

Modified: qpid/site/docs/.htaccess
URL: http://svn.apache.org/viewvc/qpid/site/docs/.htaccess?rev=1574239&r1=1574238&r2=1574239&view=diff
==============================================================================
--- qpid/site/docs/.htaccess (original)
+++ qpid/site/docs/.htaccess Tue Mar  4 23:19:01 2014
@@ -21,8 +21,15 @@
   RewriteEngine on
   RewriteBase /
 
-  RewriteRule ^books/trunk/Programming-In-Apache-Qpid-Book/pdf/Programming-In-Apache-Qpid-Book.pdf
/books/trunk/Programming-In-Apache-Qpid/pdf/Programming-In-Apache-Qpid.pdf [R=301,L]
-  RewriteRule ^books/trunk/Programming-In-Apache-Qpid-Book/(.*)$ /books/trunk/Programming-In-Apache-Qpid/$1
[R=301,L]
+  # Rewrite urls corresponding to old locations for cpp, java and programming trunk books
to the new location beneath /releases/qpid-trunk/
+  RewriteRule ^books/trunk/AMQP-Messaging-Broker-CPP-Book/html/(.*)$ /releases/qpid-trunk/cpp-broker/book/$1
[R=301,L]
+  RewriteRule ^books/trunk/AMQP-Messaging-Broker-CPP-Book/pdf/AMQP-Messaging-Broker-CPP-Book.pdf$
/releases/qpid-trunk/cpp-broker/cpp-broker-book.pdf [R=301,L]
+  RewriteRule ^books/trunk/AMQP-Messaging-Broker-Java-Book/html/(.*)$ /releases/qpid-trunk/java-broker/book/$1
[R=301,L]
+  RewriteRule ^books/trunk/AMQP-Messaging-Broker-Java-Book/pdf/AMQP-Messaging-Broker-Java-Book.pdf$
/releases/qpid-trunk/java-broker/java-broker-book.pdf [R=301,L]
+  RewriteRule ^components/java-broker/book/(.*)$ /releases/qpid-trunk/java-broker/book/$1
[R=301,L]
+  RewriteRule ^books/trunk/Programming-In-Apache-Qpid(-Book)?/html/(.*)$ /releases/qpid-trunk/programming/book/$2
[R=301,L]
+  RewriteRule ^books/trunk/Programming-In-Apache-Qpid(-Book)?/pdf/Programming-In-Apache-Qpid(-Book)?.pdf$
/releases/qpid-trunk/programming/programming-book.pdf [R=301,L]
+  RewriteRule ^components/programming/book/(.*)$ /releases/qpid-trunk/programming/book/$1
[R=301,L]
 
   RewriteRule ^books/0.14/(.*)$ /releases/qpid-0.14/books/$1 [R=301,L]
   RewriteRule ^books/0.16/(.*)$ /releases/qpid-0.16/books/$1 [R=301,L]



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message