On 06/06/2014 08:16 AM, Zimmermann, Mark wrote:
Dear all,
we are using XWiki 6.0.1 and I have to set a different hostname because of a proxy
between Internet and our xwiki server.
I installed the server with a different name and it still appears unless I set xwiki.home
to the correct new name.
I also changed the hostname of the server and restarted it. In bash everthing is fine.
The crazy thing is, in the form for sending a link there is the correct URL visible, but
not in the email.
I think this is likely because the form is shown in the context of a web request,
and this it can reuse the host the browser uses to display the url
The mail on the other hand is send from a background process and does not have a request
with an url associated
so it uses the default hostname configured for that wiki.
As the "proxy" situation is quite common, XWiki does not rely on the systems
'hostname'
to figure out under which name it is called from the outside; instead
you are expected to put in the correct public hostname in the xwiki.home property.
I just checked and setting that property works fine for me. How exactly does it not work
for you?
(Just an idea: Maybe you need to change the Alias in the wiki descriptor
on the page /xwiki/bin/view/XWiki/XWikiServerXwiki instead?)
Clemens
Thank you for answering!
Best regards,
Mark Zimmermann
_______________________________________________
TROX GmbH
Heinrich-Trox-Platz, 47504 Neukirchen-Vluyn
Amtsgericht Kleve, HRB 4997
Geschäftsführung:
Lutz Reuter, Vorsitzender
Torsten Jagdt
Prof. Dr.-Ing. Dirk Müller
Aufsichtsrat:
Heinz C. Trox, Vorsitzender
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Clemens Klein-Robbenhaar
Software Development
EsPresto AG
Breite Str. 30-31
10178 Berlin/Germany
Tel: +49.(0)30.90 226.763
Fax: +49.(0)30.90 226.760
robbenhaar(a)espresto.com
HRB 77554 B - Berlin-Charlottenburg
Vorstand: Maya Biersack, Peter Biersack
Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
Zertifiziert nach ISO 9001:2008