uschindler edited a comment on issue #1018: SOLR-13941: Configure 
JettySolrRunner same as in web.xml
URL: https://github.com/apache/lucene-solr/pull/1018#issuecomment-555706171
 
 
   Ok, I know.
   
   For the default servlet, the path has to be just "/". This is how it's 
implicitly configured for an empty webapp by jetty (it uses a special class 
DefaultServlet for this).
   
   The embedded jetty has no webapp only a context, so there is no default 
servlet, so jetty responds with method not allowed.
   
   The path for filters has no effect on the request objects. DispatchFilter 
just sees what the choosen servlet would see. So the bad guy was the servlet we 
added with "/+", that's implicitly defined in any webapp and should follow the 
default (just "/").

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to