Original Publication Date: 02/16/2006
Differing URLs can cause a 502 Bad Gateway error, when the following is true:
To find the mismatched URLs, look in the subscriber's logs. You can access IIS logs through the IIS manager, httpd logs are in /var/log, and GLOBAL-SITE agent logs are in \Program Files\F5\GLOBAL-SITE Agent\logs.
Once you know the mismatched URLs, you can fix the problem on the subscriber by aliasing the unknown IP address to the known one. To do this, edit the httpd.conf file for the WebDAV agent, and then, depending on your type of web server, use one of the following procedures:
Edit the httpd.conf file (\Program Files\f5 networks\global-siteagent\conf\httpd.conf) by adding:
<VirtualHost server_hostname>
ServerName server_hostname
ServerAlias unknown_server_address
</VirtualHost>
Edit the httpd.conf file (typically /etc/httpd.conf or /var/httpd/httpd.conf) by adding:
<VirtualHost server_hostname>
ServerName server_hostname
ServerAlias unknown_server_address
</VirtualHost>