[
http://issues.apache.org/jira/browse/NUTCH-81?page=comments#action_12365052 ]
Michael Nebel commented on NUTCH-81:
------------------------------------
After changing the $NUTCH_WEBAPPDIR/index.jsp as described (substitute the
jsp:forward with response.sendRedirect()), nutch can be deployed in any
tomcat-webapp-context. Most of the links used are relative, so all the images
are found.
Just on point: in the search.jsp it must be
<jsp:include page="<%= "/include/footer.html"%>"/>
instead of
<jsp:include page="<%= "../include/footer.html"%>"/>
^^^^
there was a copy and paste to much :-)
The fix is trivial - and well known. It would make the initual setup for
beginners a little bit more comfortable. So I strongly suggest to commit it.
BTW: in the default template is a link to
http://www.nutch.org/faq.html
this gots redirected to :
http://lucene.apache.org/nutch/faq.html
can someone in charge of nutch.org change this redirect to:
http://wiki.apache.org/nutch/FAQ
?
> Webapp only works when deployed in root
> ---------------------------------------
>
> Key: NUTCH-81
> URL: http://issues.apache.org/jira/browse/NUTCH-81
> Project: Nutch
> Type: Bug
> Components: web gui
> Environment: Windows 2000 / Jakarta Tomcat 5.0.25 / JDK 1.5 / 0.7-dev from
> SVN.
> Reporter: AJ Banck
> Attachments: nutch_indexjsp_redirect.txt
>
> Index.jsp does a redirect (not forward) to the language folder.
> The links in the html however are relative to the language folder, not the
> application root.
> Not sure what the desired behavoir is, change the html (where is it
> generated?) or the redirect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira