lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject svn commit: r640449 - /lucene/solr/trunk/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java
Date Mon, 24 Mar 2008 15:53:47 GMT
Author: ehatcher
Date: Mon Mar 24 08:53:46 2008
New Revision: 640449

URL: http://svn.apache.org/viewvc?rev=640449&view=rev
Log:
Incorporate the prefixPath, if configured, on the forwards

Modified:
    lucene/solr/trunk/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java

Modified: lucene/solr/trunk/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java?rev=640449&r1=640448&r2=640449&view=diff
==============================================================================
--- lucene/solr/trunk/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java (original)
+++ lucene/solr/trunk/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java Mon Mar
24 08:53:46 2008
@@ -304,7 +304,7 @@
             req.setAttribute("org.apache.solr.SolrCore", core);
               // Modify the request so each core gets its own /admin
             if( singlecore == null && path.startsWith( "/admin" ) ) {
-              req.getRequestDispatcher( path ).forward( request, response );
+              req.getRequestDispatcher( pathPrefix == null ? path : pathPrefix + path ).forward(
request, response );
               return; 
             }
           }



Mime
View raw message