How to connect LiveView Web clients through an Apache proxy server

How to connect LiveView Web clients through an Apache proxy server

book

Article ID: KB0083595

calendar_today

Updated On:

Products Versions
TIBCO Live Datamart Live Datamart 2.2, LiveView Web 1.3

Description

A proxy server may be required for LiveView Web clients to be compliant with company-wide IT policies.  This article provides example settings for an Apache 2.4 proxy server.

Issue/Introduction

This article provides instructions for connecting LiveView Web clients through an Apache proxy server.

Resolution

The relevant locations for LiveView web are:
/lvweb
/lv/client
/lv/api
/lv/streaming

Each of these locations needs to be defined in your proxy server settings.  Here is an example for Apache 2.4:
 
<Location /lvweb >
ProxyPass           http://hostname:10080/lvweb
ProxyPassReverse    http://hostname:10080/lvweb
</Location>

<Location /lv/client >
ProxyPass           http://hostname:10080/lv/client
ProxyPassReverse    http://hostname:10080/lv/client
</Location>

<Location /lv/api >
ProxyPass           http://hostname:10080/lv/api
ProxyPassReverse    http://hostname:10080/lv/api
</Location>

<Location /lv/streaming >
ProxyPass           ws://hostname:10080/lv/streaming
ProxyPassReverse    ws://hostname:10080/lv/streaming
</Location>

The following Apache modules are also required:
 
proxy_html_module
proxy_http_module
proxy_wstunnel_module