[xwiki-users] Watchlist issuie (page links give localhost)
After updating XWiki to 2.5.1 (before was 2.2.6), in watchlist emais, in page links, instead of network name of a resoure (servername or local domain synonym) shows "localhost". Is it some bug in 2.5.1 or I can setup this by some parameters? XWiki uses inside local network as a intranet. -- Best Regards Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/Watchlist-issuie-page-links-give-localhost... Sent from the XWiki- Users mailing list archive at Nabble.com.
On 11/14/2010 12:40 PM, Eugen Colesnicov wrote:
After updating XWiki to 2.5.1 (before was 2.2.6), in watchlist emais, in page links, instead of network name of a resoure (servername or local domain synonym) shows "localhost". Is it some bug in 2.5.1 or I can setup this by some parameters? XWiki uses inside local network as a intranet.
I think this is a kind of configuration issue. The watchlist uses a URLFactory which is initialized in the first request, and which remembers the hostname/port used in that request. So to fix this it should be enough to restart the server and make the first request using the external URL. I'm not sure, but you can also configure this using xwiki.home in WEB-INF/xwiki.cfg. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (2)
-
Eugen Colesnicov -
Sergiu Dumitriu