Forum Discussion
serebra_83282
Nimbostratus
Jul 08, 2009ProxyPass problem
Greetings,
I followed the instruction on http://devcentral.f5.com/wiki/default.aspx/iRules/ProxyPass to set up ProxyPass and got problem.
In browser, it said:
Conn...
serebra_83282
Nimbostratus
Jul 10, 2009I 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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects