Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A16BC18AF9 for ; Sun, 21 Feb 2016 19:00:21 +0000 (UTC) Received: (qmail 52214 invoked by uid 500); 21 Feb 2016 19:00:17 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 52141 invoked by uid 500); 21 Feb 2016 19:00:17 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 52129 invoked by uid 99); 21 Feb 2016 19:00:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Feb 2016 19:00:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 59CF71A05EB for ; Sun, 21 Feb 2016 19:00:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.43 X-Spam-Level: X-Spam-Status: No, score=-0.43 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.329, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id PnPdkC8YnApp for ; Sun, 21 Feb 2016 19:00:14 +0000 (UTC) Received: from resqmta-ch2-04v.sys.comcast.net (resqmta-ch2-04v.sys.comcast.net [69.252.207.36]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 196345FB0A for ; Sun, 21 Feb 2016 19:00:14 +0000 (UTC) Received: from resomta-ch2-16v.sys.comcast.net ([69.252.207.112]) by resqmta-ch2-04v.sys.comcast.net with comcast id M6xG1s0012S2Q5R01707zM; Sun, 21 Feb 2016 19:00:07 +0000 Received: from [192.168.1.14] ([98.250.196.95]) by resomta-ch2-16v.sys.comcast.net with comcast id M7071s00623ydxu01707C3; Sun, 21 Feb 2016 19:00:07 +0000 From: matthew grisius Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: set 'root' contextPath in Solr 5.4.1? Date: Sun, 21 Feb 2016 14:00:05 -0500 Message-Id: <9BD3FF09-4CB4-4DC4-B508-B731A18039FB@comcast.net> To: solr-user@lucene.apache.org Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1456081207; bh=AwK9ImciQcjKzkKjJyS30W1yKX8NE26RpdO93Ks7H8g=; h=Received:Received:From:Content-Type:Subject:Date:Message-Id:To: Mime-Version; b=m8Q3/ZzTFH3pL5JVkHmnwQblb987jsfXR9nc/tqHvwZBvd3tbeYzr4ahyajCj/vvF nsoHWxHmBB9FXFCdwRT7BDufaAurXRP8Pud+5UcN1ekaVbO6e70fPo1FpTwuFxzmtT liAxCpTp3j2ZP9xlcq0uFd1nvbNry8fcyAOzjNL2EDgdbDyjsdErcVdvuuLo29/GvQ lh6fx+iTIU6pIsNR1cQSXUvF/eMOd7QxOA6NWbaGYK6O7uagscAQNLJGDPIe2uHQrD +6j9avrljW/j5tXm0M96rbbCuUnztC8phXQ+j+IlxBPJZ+CDhvf35OSzsEYKvNJq/D uXoE/dqwG2ilw== I have migrated my app that used tomee plus 1.6.0.1, Solr (war) 4.7.2, = and Nutch 1.8 to Solr 5.4.1 (w/ jetty), Nutch 1.11, and Solrj on openSUSE 13.1. With Solr 5.4.1 I can happily: - add static content - add servlets (java, clojure) - import crawl data via Nutch 1.11, to a single core solr/tdfield, and = then solr/tdfield/browse, solr/admin, etc. I want to re-assign the "root context", e.g. contextPath =3D"/", = instead of to "/solr", to another servlet, or display a "/" splash page with links to solr/admin, solr/tdfield/browse, and = other static content/servlets, etc. while preserving solr uri behavior/functionality. My unsuccessful attempts included: - edit contexts/solr-jetty-context.xml (contextPath, add resourceBase, = etc.) - unmap solr rewrite rule to pass thru . . . - edit other '/contexts/' . . . - edit etc/webdefault.xml . . . - bin/solr does not appear to affect "/" - org.apache.solr.util.SolrCLI does not appear to affect "/" I am not yet familiar enough with jetty or the Solr 5.x design intent = and would appreciate any suggestions on how to properly (idiomatically) reassign the contextPath=3D"/" and = preserve upward compatibility with Solr 5.x & 6.x. Thank you very much, any suggestions would be appreciated! -matt.