Alfresco 通知邮件 link 修改
Alfresco notification mail link modify
我正在使用 Alfresco 社区版本 5。1.x 每当用户在 Alfresco 中执行 activity 时在我的生产服务器中设置 SMTP 用户收到通知邮件,我们能够获得所有信息但是在邮件通知邮件中 alfresco url 那里有我的域名(即 http://mydomainxx.com:5038) when click the link not working browser because its wrong url how can i change to (http://mydomainxx.com)只有域名没有端口号,我坚持认为任何人都可以帮忙。
有几个地方 mentioned here 您可以尝试(我自己还没有尝试过)。如果这证明行不通,恕我直言,最简单的方法是简单地将通知 FTL 更改为您想要的 URL(位于“Company Home/Data Dictionary/Email Templates").
不过,这不是最干净的,所以你自己决定是否要走那条路。
您应该更改默认的 alfresco-global.properties:
alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8080
alfresco.protocol=http
share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=http
在您的情况下,只需将端口更改为 80 就足够了。
希望这对某人有所帮助。
#
# URL Parameters(SSL)
# -------------------------
alfresco.context=alfresco
alfresco.host=yourdomain.com
alfresco.port=443
alfresco.protocol=https
share.context=share
share.host=yourdomain.com
share.port=443
share.protocol=https
## Non-ssl
alfresco.context=alfresco
alfresco.host=yourdomain.com
alfresco.port=8080
#<YOUR_PORT_NUMBER>
alfresco.protocol=http
share.context=share
share.host=yourdomain.com
share.port=8080
#<YOUR_PORT_NUMBER>
share.protocol=http
我正在使用 Alfresco 社区版本 5。1.x 每当用户在 Alfresco 中执行 activity 时在我的生产服务器中设置 SMTP 用户收到通知邮件,我们能够获得所有信息但是在邮件通知邮件中 alfresco url 那里有我的域名(即 http://mydomainxx.com:5038) when click the link not working browser because its wrong url how can i change to (http://mydomainxx.com)只有域名没有端口号,我坚持认为任何人都可以帮忙。
有几个地方 mentioned here 您可以尝试(我自己还没有尝试过)。如果这证明行不通,恕我直言,最简单的方法是简单地将通知 FTL 更改为您想要的 URL(位于“Company Home/Data Dictionary/Email Templates").
不过,这不是最干净的,所以你自己决定是否要走那条路。
您应该更改默认的 alfresco-global.properties:
alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8080
alfresco.protocol=http
share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=http
在您的情况下,只需将端口更改为 80 就足够了。
希望这对某人有所帮助。
#
# URL Parameters(SSL)
# -------------------------
alfresco.context=alfresco
alfresco.host=yourdomain.com
alfresco.port=443
alfresco.protocol=https
share.context=share
share.host=yourdomain.com
share.port=443
share.protocol=https
## Non-ssl
alfresco.context=alfresco
alfresco.host=yourdomain.com
alfresco.port=8080
#<YOUR_PORT_NUMBER>
alfresco.protocol=http
share.context=share
share.host=yourdomain.com
share.port=8080
#<YOUR_PORT_NUMBER>
share.protocol=http