You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ct...@apache.org on 2017/06/21 15:56:40 UTC

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

Author: ctargett
Date: Wed Jun 21 15:56:39 2017
New Revision: 1799474

URL: http://svn.apache.org/viewvc?rev=1799474&view=rev
Log:
SOLR-10930: refine redirect rule so it only applies to beginning of URL path

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

Modified: lucene/cms/trunk/content/.htaccess
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/.htaccess?rev=1799474&r1=1799473&r2=1799474&view=diff
==============================================================================
--- lucene/cms/trunk/content/.htaccess (original)
+++ lucene/cms/trunk/content/.htaccess Wed Jun 21 15:56:39 2017
@@ -58,7 +58,7 @@ RedirectMatch Permanent /solr/api-(.*) /
 
 # Default catch for "java" - Core is the new Java!
 RedirectMatch Permanent /java/docs(.*) /core$1
-RedirectMatch Permanent /java($|/.*) /core$1
+RedirectMatch Permanent ^/java($|/.*) /core$1
 
 # pylucene docs renamed
 RedirectMatch Permanent /pylucene/documentation/install.html /pylucene/install.html