-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Platform: All, OS: All
From
http://deadlock.netbeans.org/hudson/
I go to the search box and enter "javadoc-nbms". It works and takes me to
http://deadlock.netbeans.org/hudson/job/javadoc-nbms/
as expected.
If I install the search engine in Firefox (2.0.0.6 on Ubuntu) I get sent to
http://deadlock.netbeans.org:2080/hudson/search/?q=javadoc-nbms
which does not work.
I have Hudson running on port 2080 on the server, but am using lighttpd to
rewrite URLs so as to expose only port 80 to the outside world. Normally this
works fine, but it seems that Hudson is exposing its search engine using an
absolute URL (including host and port information). Is it possible to expose a
relative URL instead, so that after URL rewriting the Firefox search toolbar
would get the correct port (80)?
I believe relative URL doesn't work inside open-search descriptor.
I modified code so that it uses the URL you configure in the system config
screen, and only use the request URL as the fall back.
Another way to solve the problem would be to use something like AJP instead of
simply HTTP request forwarding.
This change is in 1.135.