Configuring the AJAX proxy for the Video Chat widget

The AJAX proxy allows requests to be made across domains. Since the IBM® Sametime® Meetings application resides on its own server, not on the IBM Connections server, requests should be made through the AJAX proxy.

About this task

The WebSphere® Application Server contains a modifiable proxy configuration file, proxy-config.tpl. To modify the file, see this procedure: Configuring the Ajax proxy.

Procedure

In the proxy-config.tpl file, located on the computer which hosts the IBM Connections server, modify the url value according to your own configuration.
Note: The proxy must allow the actions, cookies, and headers as shown.
 <proxy:policy url="http://stkvmg17.cn.ibm.com:9080/*" acf="none">
        <proxy:actions>
            <proxy:method>GET</proxy:method>
            <proxy:method>HEAD</proxy:method>
            <proxy:method>POST</proxy:method>
            <proxy:method>PUT</proxy:method>
            <proxy:method>DELETE</proxy:method>
        </proxy:actions>
        <proxy:cookies>
            <proxy:cookie>LtpaToken</proxy:cookie>
            <proxy:cookie>LtpaToken2</proxy:cookie>
            <proxy:cookie>JSESSIONID</proxy:cookie>
        </proxy:cookies>
        <proxy:headers>
            <proxy:header>X-ST-CSRF-Token</proxy:header>
            <proxy:header>User-Agent</proxy:header>
            <proxy:header>Accept.*</proxy:header>
            <proxy:header>Content.*</proxy:header>
            <proxy:header>Authorization.*</proxy:header>
            <proxy:header>If-.*</proxy:header>
            <proxy:header>Pragma</proxy:header>
            <proxy:header>Cache-Control</proxy:header>
            <proxy:header>X-Update-Nonce</proxy:header>
            <proxy:header>WWW-Authenticate.*</proxy:header>
            <proxy:header>Access.*</proxy:header>
        </proxy:headers>
    </proxy:policy>