Forum Discussion
Derek_Murphy_38
Nimbostratus
Oct 05, 2010need help figuring out a proxy irule
The below post has a bunch of good information that I think has me in the right direction.
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/aff/5/aft/1172576/afv/topic/asg/50/D...
Derek_Murphy_38
Nimbostratus
Oct 07, 2010Hi Aaron,
currently this is what is logged when I access http://wwwstg.domain.com/discover. The changes so far that I've made to the iRule are - replaced all local0 log with just log "DEREK: so it gets sent to the web console/local traffic log and make it easier for me to identify, I replaced [Virtual Name] with [Virtual] (per another post suggestion), and set ProxyPassDebug and RewriteResponsePayload both to 2 under when RULE_INIT
Thu Oct 7 14:09:40 EDT 2010 tmm tmm[1587] 01220002 Rule proxy_pass CLIENT_ACCEPTED: DEREK: wwwstg: 172.30.112.113:61625 - 10.17.9.124:80
Thu Oct 7 14:09:40 EDT 2010 tmm tmm[1587] 01220002 Rule proxy_pass HTTP_REQUEST: DEREK: wwwstg, Host=wwwstg.domain.com, URI=/discover: Looking for entries matching wwwstg.domain.com/discover
Thu Oct 7 14:09:40 EDT 2010 tmm tmm[1587] 01220002 Rule proxy_pass HTTP_REQUEST: DEREK: wwwstg, Host=wwwstg.domain.com, URI=/discover: Looking for entries matching /discover
Thu Oct 7 14:09:40 EDT 2010 tmm tmm[1587] 01220002 Rule proxy_pass HTTP_REQUEST: DEREK: wwwstg, Host=wwwstg.domain.com, URI=/discover: Found Rule, Client Host=wwwstg.domain.com, Client Path=/discover, Server Host=blog3.pre.domain.com, Server Path=/
Thu Oct 7 14:09:40 EDT 2010 tmm tmm[1587] 01220002 Rule proxy_pass HTTP_REQUEST: DEREK: wwwstg, Host=wwwstg.domain.com, URI=/discover: Redirecting to http://wwwstg.domain.com/discover/
Thu Oct 7 14:09:41 EDT 2010 tmm tmm[1587] 01220002 repeated 20 times
Thu Oct 7 14:09:41 EDT 2010 tmm tmm[1587] 01220002 Rule proxy_pass HTTP_RESPONSE: DEREK: wwwstg, Host=wwwstg.domain.com, URI=/discover/: $stream_expression_cmd: STREAM::expression @blog3.pre.domain.com/@wwwstg.domain.com/discover@ @/@/discover@, $stream_enable_cmd: STREAM::enable
Thu Oct 7 14:09:44 EDT 2010 tmm tmm[1587] 01220002 repeated 115 times
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