I added “HTTP_REQUEST priority 501” as you suggested, and also used 'HTTP::header replace header_name: header_value' to replace 'HTTP::header replace Host $host_serverside',but we still got same error as before.
When using 'HTTP::header replace Host $host_serverside', here is the log:
Jul 10 09:41:54 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: Looking for entries matching www.site1.com/support/index.htm
Jul 10 09:41:54 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: Found Rule, Client Host=www.site1.com, Client Path=/support, Server Host=www.site2.com, Server Path=/support
Jul 10 09:41:54 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: New Host=www.site2.com, New Path=/support/index.htm
Jul 10 09:41:54 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: Using default pool betapool
Jul 10 09:41:54 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: Removed Accept-Encoding header
Jul 10 09:41:54 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: Current Host header value: www.site2.com, URI: /support/index.htm
Jul 10 09:41:54 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: $stream_expression_cmd: STREAM::expression "@www.site2.com/support@www.site1.com/support@", $stream_enable_cmd: STREAM::enable
Jul 10 09:41:54 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: Successfully configured and enabled stream filter
When using 'HTTP::header replace header_name: header_value' , here is the log:
Jul 10 10:04:59 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: Looking for entries matching www.site1.com/support/index.htm
Jul 10 10:04:59 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: Found Rule, Client Host=www.site1.com, Client Path=/support, Server Host=www.site2.com, Server Path=/support
Jul 10 10:04:59 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: New Host=www.site2.com, New Path=/support/index.htm
Jul 10 10:04:59 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: Using default pool betapool
Jul 10 10:04:59 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: Removed Accept-Encoding header
Jul 10 10:04:59 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: Current Host header value: www.site1.com, URI: /support/index.htm
Jul 10 10:04:59 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: $stream_expression_cmd: STREAM::expression "@www.site2.com/support@www.site1.com/support@", $stream_enable_cmd: STREAM::enable
Jul 10 10:04:59 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/index.htm: Successfully configured and enabled stream filter
Thank you,
Victor