We are trying to redirect connections from an apache server running on port 443 to the intermapper web server running on port 8443 take advantage of a home grown authentication method that runs on apache. It works great except for the automatic refresh feature. By default, the port that intermapper is running on is embedded in the URL that is handed out for the refresh. So when a browser tries to refresh is goes directly to the intermapper server on port 8443 bypassing the apache server on port 443, and bypassing authentication. Actually port 8443 is inaccessible from anything but the local IP (via iptables) so the refresh doesn't work at all.
Is there a way to modify the web pages to NOT include the intermapper server port 8443 in the refresh URL? I know that would actually be a problem for normal operation (without the apache redirect) but in this case it gets in the way.