I was wondering if i someone can help me with a small issue i am facing
i am trying to use Apache Reverse proxy for Finesse on UCCX
Proxy.company.com:8084 ---> Finesse.company.com:8445
the problem i am getting is that the main page of finesse loads when i am trying to access Proxy.company.com:8084 , but immediately redirected to Finesse.company.com:8445 , i did some tracing and i found out that one of the loaded Finesse page redirects to the host name of the server (window.location.replace)
if (localeFromQueryString === '') {
$
.ajax({
timeout : 10000,
url : '/desktop/api/Languages',
error : function(jqXHR, textStatus) {
urlToRedirect += '?locale=en_US&' + queryString;
window.location.replace(encodeURI(urlToRedirect + '?' + queryString));
},
success : function(obj) {
var numOfLangs = _logonUtil
.getTotalLanguagesSupported(obj);
if (numOfLangs == 1) {
urlToRedirect += '?locale=en_US&' + queryString;
} else {
urlToRedirect += '?' + queryString;
}
window.location.replace(encodeURI(urlToRedirect));
}
});
i am wondering if this behaviors can be stopped or is there is something in the Apache httpd.conf i am missing
<VirtualHost *:8084>
ServerName proxy.company.com
ServerAlias proxy.company.com
ProxyPreserveHost Off
ProxyRequests Off
RewriteEngine On
SSLProxyEngine On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
proxypass / https://finesse.company.com:8445/
ProxyPassReverse / https://finesse.company:8445/
</VirtualHost>