Login into MDM UI when using a load balancing Apache server

Login into MDM UI when using a load balancing Apache server

book

Article ID: KB0078722

calendar_today

Updated On:

Products Versions
TIBCO MDM 9.1

Description

When we try to login in MDM UI,we may get the exception as "GEN-7064: Security violation. Unauthorized access."  while using a load balancing Apache server.

This can be observed when Apache webserver configured infront of MDM Widlfly Application server and we configure load balancing URL for accessing MDM UI.

Issue/Introduction

When we try to login in MDM UI,we may get the exception as "GEN-7064: Security violation. Unauthorized access." while using a load balancing Apache server

Environment

ALL

Resolution

We can avoid this error by  adding "ProxyPreserveHost On" in the apache server configuration.i.e hosts configuration file.
 

The ProxyPreserveHost directive is used to instruct Apache mod_proxy, when acting as a reverse proxy, to preserve and retain the original Host: header from the client browser when constructing the proxied request to send to the target server.

Because this is often not what is wanted, you should add the ProxyPreserveHost On directive to the Apache HTTPD configuration, either in httpd.conf or related/equivalent configuration files.

Additional Information

01744697,https://docs.oracle.com/cd/E89866_01/bigData.Doc/install_onPrem/src/cins_studio_reverse_proxy_apache_proxypreservehost.html,https://httpd.apache.org/docs/2.4/mod/mod_proxy.html