I enabled some additional logging.
Fri Oct 12 08:57:56 MST 2012 info local/tmm1 tmm1[5348] Rule proxypass_irule : VS=Staging_https_virtual_server, Host=staging.externaldomain.com, URI=/realdomainname/images/login.png: Found Rule, Client Host=staging.externaldomain.com, Client Path=/realdomainname, Server Host=staging.realdomainname.com, Server Path=
Fri Oct 12 08:57:56 MST 2012 info local/tmm1 tmm1[5348] Rule proxypass_irule : VS=Staging_https_virtual_server, Host=staging.externaldomain.com, URI=/realdomainname/images/login.png: Using default pool Staging_pool
Fri Oct 12 08:57:56 MST 2012 info local/tmm1 tmm1[5348] Rule proxypass_irule : VS=Staging_https_virtual_server, Host=staging.externaldomain.com, URI=/realdomainname/images/login.png: New Host=staging.realdomainname.com, New Path=/images/login.png
Fri Oct 12 08:57:56 MST 2012 info local/tmm1 tmm1[5348] Rule proxypass_irule : VS=Staging_https_virtual_server, Host=staging.externaldomain.com, URI=/realdomainname/images/login.png: Changing Referer header: https://staging.externaldomain.com/realdomainname/welcome.aspx to https://staging.realdomainname.com/welcome.aspx
Fri Oct 12 08:57:56 MST 2012 info local/tmm1 tmm1[5348] Rule proxypass_irule : VS=Staging_https_virtual_server, Host=staging.externaldomain.com, URI=/realdomainname/images/login.png: $stream_expression_cmd: STREAM::expression "@staging.realdomainname.com@staging.externaldomain.com/realdomainname@ @@/realdomainname@", $stream_enable_cmd: STREAM::enable
Fri Oct 12 08:57:56 MST 2012 info local/tmm1 tmm1[5348] Rule proxypass_irule : VS=Staging_https_virtual_server, Host=staging.externaldomain.com, URI=/realdomainname/images/login.png: Successfully configured and enabled stream filter
Fri Oct 12 08:57:58 MST 2012 info local/tmm tmm[5347] Rule proxypass_irule : VS=Staging_https_virtual_server, Host=staging.externaldomain.com, URI=/realdomainname/welcome.aspx: $stream_expression_cmd: STREAM::expression "@staging.realdomainname.com@staging.externaldomain.com/realdomainname@ @@/realdomainname@", $stream_enable_cmd: STREAM::enable
Fri Oct 12 08:57:58 MST 2012 info local/tmm tmm[5347] Rule proxypass_irule : VS=Staging_https_virtual_server, Host=staging.externaldomain.com, URI=/realdomainname/welcome.aspx: Successfully configured and enabled stream filter
Fri Oct 12 08:57:58 MST 2012 info local/tmm tmm[5347] Rule proxypass_irule : VS=Staging_https_virtual_server, Host=staging.externaldomain.com, URI=/realdomainname/welcome.aspx: Changing response header Location: /welcome.aspx?id=WEBTEST with /welcome.aspx?id=WEBTESTstaging.externaldomain.com/realdomainname
Fri Oct 12 08:57:58 MST 2012 info local/tmm tmm[5347] Rule proxypass_irule : Modifying cookie ASP.NET_SessionId path from / to /realdomainname/
Fri Oct 12 08:57:58 MST 2012 info local/tmm tmm[5347] Rule proxypass_irule : Inserting cookie: ASP.NET_SessionId=dx5rg355bjbqzbytcz4hqx45; path=/realdomainname/; HttpOnly
Fri Oct 12 08:57:58 MST 2012 info local/tmm1 tmm1[5348] Rule proxypass_irule : VS=Staging_https_virtual_server, Host=staging.externaldomain.com, URI=/welcome.aspx?id=WEBTESTstaging.externaldomain.com/realdomainname: No rule found
Fri Oct 12 08:57:58 MST 2012 info local/tmm1 tmm1[5348] Rule proxypass_irule : VS=Staging_https_virtual_server, Host=staging.externaldomain.com, URI=/welcome.aspx?id=WEBTESTstaging.externaldomain.com/realdomainname: Rewriting response content enabled, but disabled on this response.
Thanks,
Adam