You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jr...@apache.org on 2013/07/23 23:27:37 UTC

svn commit: r1506292 - in /qpid/site: docs/.htaccess input/.htaccess

Author: jross
Date: Tue Jul 23 21:27:36 2013
New Revision: 1506292

URL: http://svn.apache.org/r1506292
Log:
QPID-4990: A better redirect for dispatch

Modified:
    qpid/site/docs/.htaccess
    qpid/site/input/.htaccess

Modified: qpid/site/docs/.htaccess
URL: http://svn.apache.org/viewvc/qpid/site/docs/.htaccess?rev=1506292&r1=1506291&r2=1506292&view=diff
==============================================================================
--- qpid/site/docs/.htaccess (original)
+++ qpid/site/docs/.htaccess Tue Jul 23 21:27:36 2013
@@ -42,10 +42,11 @@
   RewriteRule ^books/0.22/Programming-In-Apache-Qpid/html/(.*)$ /releases/qpid-0.22/programming/book/$1 [R=301,L]
   RewriteRule ^apis/0.22/cpp/html/(.*) /releases/qpid-0.22/messaging-api/cpp/api/$1 [R=301,L]
   RewriteRule ^apis/0.22/python/html/(.*) /releases/qpid-0.22/messaging-api/python/api/$1 [R=301,L]
+
+  RewriteRule ^components/dispatch/(.*) /components/dispatch-router/$1 [R=301,L]
 </IfModule>
 
 <IfModule mod_alias.c>
-  Redirect /components/dispatch/index.html http://qpid.apache.org/components/dispatch-router/index.html
   Redirect /download.cgi http://qpid.apache.org/download.html
   Redirect /licence.html http://www.apache.org/licenses/
 

Modified: qpid/site/input/.htaccess
URL: http://svn.apache.org/viewvc/qpid/site/input/.htaccess?rev=1506292&r1=1506291&r2=1506292&view=diff
==============================================================================
--- qpid/site/input/.htaccess (original)
+++ qpid/site/input/.htaccess Tue Jul 23 21:27:36 2013
@@ -42,10 +42,11 @@
   RewriteRule ^books/0.22/Programming-In-Apache-Qpid/html/(.*)$ /releases/qpid-0.22/programming/book/$1 [R=301,L]
   RewriteRule ^apis/0.22/cpp/html/(.*) /releases/qpid-0.22/messaging-api/cpp/api/$1 [R=301,L]
   RewriteRule ^apis/0.22/python/html/(.*) /releases/qpid-0.22/messaging-api/python/api/$1 [R=301,L]
+
+  RewriteRule ^components/dispatch/(.*) /components/dispatch-router/$1 [R=301,L]
 </IfModule>
 
 <IfModule mod_alias.c>
-  Redirect /components/dispatch/index.html http://qpid.apache.org/components/dispatch-router/index.html
   Redirect /download.cgi http://qpid.apache.org/download.html
   Redirect /licence.html http://www.apache.org/licenses/
 



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