Hi,
You can get nutch working from other than root context.
If you want to get it like : http://127.0.0.1:8080/search

Rename Nutch war file into search.war (or create search.war from nutch
source by ant tool)& copy it to webapps dir of your tomcat. & then
(Re)start your tomcat server. 

You can specify the dir to search in 
nutch-default.xml file under property searcher.dir

Hope this would help you.

Regards,
rajendra


-----Original Message-----
From: Ulrich Scheidegger [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 13, 2005 5:18 PM
To: [email protected]
Subject: Re: Change root context?

Answering my own question partially: It looks like it is not intended 
to run nutch anywhere other than the root context. There are plenty of 
URLs hardcoded to the root context. I've managed to get things working 
by
1. simply renaming the webapp to nutch
2. make all paths relative in /webapps/nutch/en/search.html
3. fix the /webapps/nutch/search.jsp by simply adding <%= 
request.getContextPath()%> in front of all links to search.jsp

Now, I can let the nutch search webinterface run under any context path 
I'd like.

Still to resolve: How can I tell nutch where to look for the indexed 
data other than starting Tomcat from this folder (which I think is a 
very odd way to configure an app...)

Thanks for pointers!

-Will

On 13.06.2005, at 13:06, Ulrich Scheidegger wrote:

> Hi everyone
>
> I would like to test nutch to see if it's suitable for us as site 
> search engine. Unfortunately I could not find in the docs how to setup

> nutch somewhere other than the root context in tomcat, e.g. 
> http://127.0.0.1:8080/search
>
> I'm sure this is a small thing but since I'm a Tomcat newbie too I 
> would appreciate if someone could show me how to setup nutch that way.

> I'll promise I'll add it to the wiki once I get things running ;-)
>
> Thanks!
>
> -Will
>

Reply via email to