Community
Participate
Working Groups
Our Hudson runs in a context /hudson. Some images are still looked up in /images instead of /hudson/images (e.g. /images/48x48/setting.png).
My current workaround (in apache config): RewriteEngine On RewriteRule ^/images/(.*)$ /hudson/images/$1 [R]
Hi Michael, Could you please give some examples URL where the error happens so that I can fix it before the release.
Our urls are internal. But it should happen on every hudson setup that installs hudson in a context path (e.g. /hudson). You can see this at the icons of every page (e.g. the tool icon on the settingas page nead the headline). This links go to http://yourserver.com/images/48x48/setting.png but have to point to http://yourserver.com/CONTEXTNAME/images/48x48/setting.png
Seems that on eclipse's Hudson this is changed. Example: https://hudson.eclipse.org/sandbox/people/ The image there points to <img alt="" src="/sandbox/static/2d73a211/images/48x48/user.png"> In my installation it would point to <img alt="" src="/images/48x48/user.png"> Probably the image prefix can be set up somwehere?
(In reply to comment #4) Actually https://hudson.eclipse.org/sandbox/ is the same RC2 you are using. Nothing special. BTW, are you proxying using apache server?
(In reply to comment #5) In case you are proxying with apache make sure you have reverse proxy pass too ProxyPass /hudson/ http://yourserver.com/hudson ProxyPassReverse /hudson/ http://yourserver.com/hudson
Yes, I do proxying. But I proxy the whole domain to the tomcat because there are several web applications. I.e. I have ProxyPreserveHost On ProxyPass / http://127.0.0.1:8080 ProxyPassReverse / http://127.0.0.1:8080 ProxyPassReverse / http://mydomain Hudson (tomcat) runs on http://127.0.0.1:8080/hudson/