Page 1 of 1
link url on notifications contains "localhost"
PostPosted:Mon Jan 19, 2009 3:05 pm
by david
Hello,
I\'ve configured notifications and it\'s working, but the link on the e-mail begins with
http://localhost:8080/...
So when I try to use it from a workstation other than the server it doesn\'t access the document. How can I put the server ip address istead of \"localhost\"?
Thank you,
David
Re:link url on notifications contains "localhost"
PostPosted:Mon Jan 19, 2009 9:26 pm
by jllort
You can set on OpenKM.cfg ( configuration file ).
Consider to using some name server, for example openkm.yourcompany.com for it, not ip, because your intranet ip it\'ll not be your wan ip.
At last, execute run.sh -b 0.0.0.0 ( on windows run.bat ) to run jboss server on al network interfaces.
Re:link url on notifications contains "localhost"
PostPosted:Tue Jan 20, 2009 12:15 pm
by david
Thank you!
Now I can see it. For the moment I will use ip address because I\'m not planning to use it outside my lan but I will keep in mind your recommendation in the future.
Re: link url on notifications contains
PostPosted:Wed Feb 23, 2011 4:25 pm
by jmonin
I have the exact same problem, and I can't figure out what parameter to define in the OpenKM.cfg file...
Thanks in advance!
Re: link url on notifications contains
PostPosted:Wed Feb 23, 2011 8:13 pm
by jllort
use application.url=someurl param in OpenKM.cfg take a look here for more information
http://wiki.openkm.com/index.php/Applic ... figuration
Re: link url on notifications contains
PostPosted:Thu Feb 24, 2011 8:09 am
by jmonin
Well, that parameter isn't described in that wiki page, hence my question

Re: link url on notifications contains
PostPosted:Thu Feb 24, 2011 9:47 am
by pavila
Re: link url on notifications contains
PostPosted:Thu Feb 24, 2011 3:00 pm
by jmonin
Thanks!