You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ho...@apache.org on 2012/07/04 00:10:25 UTC

svn commit: r1356988 - /lucene/cms/trunk/content/.htaccess

Author: hossman
Date: Tue Jul  3 22:10:23 2012
New Revision: 1356988

URL: http://svn.apache.org/viewvc?rev=1356988&view=rev
Log:
update comment and add a catch for /solr/api (no slash)

Modified:
    lucene/cms/trunk/content/.htaccess

Modified: lucene/cms/trunk/content/.htaccess
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/.htaccess?rev=1356988&r1=1356987&r2=1356988&view=diff
==============================================================================
--- lucene/cms/trunk/content/.htaccess (original)
+++ lucene/cms/trunk/content/.htaccess Tue Jul  3 22:10:23 2012
@@ -15,12 +15,13 @@ RedirectMatch Permanent /solr/version_co
 RedirectMatch Permanent /solr/mailing_lists.html /solr/discussion.html
 RedirectMatch Permanent /solr/issue_tracking.html https://issues.apache.org/jira/browse/SOLR
 
-# oh shit, the 3.6.0 javadocs seem to have been deleted?
-# temporarily redirect all old links to the new 4.0 docs
-# really we should bring back the 3.6.0 docs, at an explicit path, and 
-# have /api redirect to then until 4.0 final comes out.
+# Legacy, unversioned Solr javadoc links
+# Can always be redirected to the "most current" released javadocs
+#
+# using "temp" instead of permanent so crawlers know that they
+# might change again in the future
 RedirectMatch temp /solr/api/(.*) /solr/api-4_0_0-ALPHA/$1
-
+Redirect Permanent /solr/api /solr/api/
 
 # we no longer have a TLP mail.html page use 'core' for now
 RedirectMatch Permanent /mail.html /core/discussion.html