AnsweredAssumed Answered

Alfresco generated URLs

Question asked by moby on Jun 21, 2011
I have 3.4.d sitting behind NAT with email configured. Within Share, when reviewing details a couple of URL's are displayed to access the object, e.g.

Share
WebDAV URL
http://localhost:8080/alfresco/webdav/Sites

This Page URL
http://192.168.2.10:8080/share/page/folder-details?nodeRef=workspace://SpacesStore/060fb895-3470-42e1-8740-9765c90dfc84

Neither of these are much use. I need the URL's to be the externally accessible IP address and not the server IP (192.18.2.10) or localhost.
However trawling the forums and google has yielded nothing that will do what I want.

The issue is manifest throughout Alfresco, viz the email sent to invite users to a share site contains the local server name and not the domain name.

I presume there is something I have not configured correctly … but cannot see what.

Any help appreciated. Alfresco-global.properties is:

###############################
## Common Alfresco Properties #
###############################

dir.root=/opt/alfresco-3.4.d/alf_data

web.application.context.url=http://127.0.0.1:8080/alfresco

### database connection properties ###
db.driver=org.gjt.mm.mysql.Driver
db.username=alfresco
db.password=1234567890
db.name=alfresco
db.url=jdbc:mysql://localhost:3306/${db.name}?useUnicode=yes&characterEncoding=UTF-8

### FTP Server Configuration ###
ftp.enabled=true
ftp.port=21
ftp.ipv6.enabled=false

### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0

### External executable locations ###
ooo.exe=/opt/alfresco-3.4.d/openoffice/program/soffice.bin
ooo.enabled=true
img.root=/opt/alfresco-3.4.d/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
swf.exe=/opt/alfresco-3.4.d/common/bin/pdf2swf
jodconverter.enabled=true
jodconverter.officeHome=/opt/alfresco-3.4.d/openoffice
jodconverter.portNumbers=8101

### Initial admin password ###
alfresco_user_store.adminpassword=9273dec9ffdf5c400edd9141b11c83c2

### IMAP Configuration ###
imap.server.enabled=true
imap.server.port=143
imap.server.host=australasianpowersources.com
imap.server.attachments.extraction.enabled=true
### default config made explicit for reference ###
imap.config.server.mountPoints=AlfrescoIMAP
imap.config.server.mountPoints.default.mountPointName=IMAP
imap.config.server.mountPoints.default.modeName=ARCHIVE
imap.config.server.mountPoints.default.store=${spaces.store}
imap.config.server.mountPoints.default.rootPath=/${spaces.company_home.childname}
imap.config.server.mountPoints.value.AlfrescoIMAP.mountPointName=Alfresco IMAP
imap.config.server.mountPoints.value.AlfrescoIMAP.modeName=MIXED

### Outbound mail via Google and SMTPS ###

mail.host=smtp.gmail.com
mail.port=465
mail.protocol=smtps
mail.username=user@gmail.com
mail.password=****
mail.smtps.starttls.enable=true
mail.smtps.auth=true
mail.smtp.auth=true
mail.from.default=admin@mydomain.com

# Enable/Disable the inbound email service.  The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#————-
email.inbound.enabled=true

# Email Server properties
#————-
email.server.enabled=true
email.server.port=25
email.server.domain=mydomain.com
email.inbound.unknownUser=anonymous
email.server.host = mail.mydomain.com

# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match.  For example:
#   .*\@alfresco\.com, .*\@alfresco\.org
# Allow everyone:
#————-
email.server.allowed.senders=.*

### GoogleDocs configuration ###

googledocs.googleeditable.enabled=true
googledocs.username=****
googledocs.password=****

Outcomes