<alfresco-config>
<config evaluator="string-compare" condition="Server">
<server>
<scheme>https</scheme>
<hostname>www.myshare.com</hostname>
<port>443</port>
</server>
</config>
…
<config evaluator="string-compare" condition="Remote">
<remote>
…
<endpoint>
…
<endpoint-url>https://internalServerName/alfresco/wcs</endpoint-url>
…
</endpoint>
</remote>
</config>
<config evaluator="string-compare" condition="Remote">
<remote>
<endpoint>
…
<endpoint-url>https://internalServerName/alfresco/s</endpoint-url>
…
</endpoint>
…
</remote>
</config>
…
</alfresco-config>
alfresco.context=alfresco
alfresco.host=internalServerName
alfresco.port=443
alfresco.protocol=https
share.context=share
share.host=www.myshare.com
share.port=443
share.protocol=https
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Alfresco » Panel de inicio de usuario</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<!– Icons –>
<link rel="shortcut icon" href="https://internalServerName/share/res/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="icon" href="https://internalServerName/share/res/favicon.ico" type="image/vnd.microsoft.icon" />
<!– YUI –>
<script type="text/javascript" src="https://internalServerName/share/res/js/yui-common.js"></script>
<script type="text/javascript" src="https://internalServerName/share/res/js/bubbling.v2.1-min.js"></script>
<script type="text/javascript">//<![CDATA[
YAHOO.Bubbling.unsubscribe = function(layer, handler, scope)
{
this.bubble[layer].unsubscribe(handler, scope);
};
//]]></script>
<!– Common i18n msg properties –>
<script type="text/javascript" src="https://internalServerName/share/service/messages.js?locale=es"></script>
<!– Alfresco web framework constants –>
<script type="text/javascript">//<![CDATA[
Alfresco.constants = Alfresco.constants || {};
Alfresco.constants.DEBUG = false;
Alfresco.constants.AUTOLOGGING = false;
Alfresco.constants.PROXY_URI = window.location.protocol + "//" + window.location.host + "/share/proxy/alfresco/";
Alfresco.constants.PROXY_URI_RELATIVE = "/share/proxy/alfresco/";
Alfresco.constants.PROXY_FEED_URI = window.location.protocol + "//" + window.location.host + "/share/proxy/alfresco-feed/";
Alfresco.constants.THEME = "chapTheme";
Alfresco.constants.URL_CONTEXT = "/share/";
…
<div>${url.context}</div>
<a href="${url.context}">click</a>
<div>/share</div>
<a href="https://internalServerName/share">click</a>
alfresco.context=alfresco
alfresco.host=internal.url
alfresco.port=1234
alfresco.protocol=http
share.context=share
share.host=external.url
share.port=80
share.protocol=http
<config evaluator="string-compare" condition="Remote">
<remote>
<endpoint>
<id>alfresco-noauth</id>
<name>Alfresco - unauthenticated access</name>
<description>Access to Alfresco Repository WebScripts that do not require authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://internal.url:1234/alfresco/s</endpoint-url>
<identity>none</identity>
</endpoint>
<endpoint>
<id>alfresco</id>
<name>Alfresco - user access</name>
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://internal.url:1234/alfresco/s</endpoint-url>
<identity>user</identity>
</endpoint>
<endpoint>
<id>alfresco-feed</id>
<name>Alfresco Feed</name>
<description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
<connector-id>http</connector-id>
<endpoint-url>http://internal.url:1234/alfresco/s</endpoint-url>
<basic-auth>true</basic-auth>
<identity>user</identity>
</endpoint>
</remote>
</config>
<a href="${url.context?replace("alfresco","share")}/page/result-details?nodeRef=${nodeResult.nodeRef?string}" target="result">${nodeResult.properties["cm:title"]?string}</a>
<config evaluator="string-compare" condition="Remote">
<remote>
<endpoint>
<id>alfresco-noauth</id>
<name>Alfresco - unauthenticated access</name>
<description>Access to Alfresco Repository WebScripts that do not require authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://internal.url:PORT/alfresco/s</endpoint-url>
<identity>none</identity>
</endpoint>
<endpoint>
<id>alfresco</id>
<name>Alfresco - user access</name>
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://internal.url:PORT/alfresco/s</endpoint-url>
<identity>user</identity>
</endpoint>
<endpoint>
<id>alfresco-feed</id>
<name>Alfresco Feed</name>
<description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
<connector-id>http</connector-id>
<endpoint-url>http://internal.url:PORT/alfresco/s</endpoint-url>
<basic-auth>true</basic-auth>
<identity>user</identity>
</endpoint>
</remote>
</config>
alfresco.context=alfresco
alfresco.host=www.myshare.com
alfresco.port=443
alfresco.protocol=https
share.context=share
share.host=www.myshare.com
share.port=443
share.protocol=https
<VirtualHost *:80>
ServerName www.myshare.com
[…]
RewriteEngine On
RewriteRule ^/$ share [R]
ProxyPass /share ajp://localhost:8009/share
ProxyPassReverse /share ajp://localhost:8009/share
</VirtualHost>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.