cancel
Showing results for 
Search instead for 
Did you mean: 

How to get correct links in email notifications

kjcsb
Champ in-the-making
Champ in-the-making
Alfresco Community 4.0c

Currently email notifications contain links that refer to localhost e.g. "http://localhost/share/page/user…". How can this be customised to show the appropriate domain name e.g.
"http://my.domain.com/share/page/user…"?

I have tried the following:
sudo vi /var/lib/tomcat6/webapps/alfresco/WEB-INF/classes/alfresco/alfresco-shared.properties
#alfresco.rmi.services.external.host=localhost
alfresco.rmi.services.external.host=mydomain.com

sudo service tomcat6 restart

Didn't work

sudo vi /var/lib/tomcat6/shared/classes/alfresco-global.properties

repo.remote.url=http://mydomain.com/

sudo service tomcat6 restart

Didn't work

Any further suggestions appreciated.
3 REPLIES 3

bisana
Champ on-the-rise
Champ on-the-rise
Hi
You many need to check this parameters also

alfresco.context=alfresco
alfresco.host=yourdomain
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=yourdomain
share.protocol=http

Thanks
Joseph John
If this posting is useful, please click yes on Post rate

kjcsb
Champ in-the-making
Champ in-the-making
Beautiful. That works. Thanks

bisana
Champ on-the-rise
Champ on-the-rise
If my posting was useful, please rate my posting using the button on the right side of the screen
Also please mark the thread as solved
Thanks
Joseph John