Forum Discussion
GavinW_29074
Nimbostratus
Jan 25, 2012ProxyPass v10 - Should it be Bypassing this request???
Hi there,
I'm making use of the F5 provided ProxyPass v10 iRule (https://community.f5.com/t5/codeshare/proxypass-v10-v11/ta-p/273662), and am seeing some strange behaviour when using the Rewrite Re...
GavinW_29074
Nimbostratus
Jan 27, 2012Ok, I think I might have found a work-around to handle this scenario...
I've changed the code block between lines 211 to 228 as follows:
if {$host_clientside eq $orig_host} {
if {$orig_uri starts_with $path_clientside} {
if {not ($path_clientside eq $path_serverside)} {
set bypass 0
Take care of pool selection
if {$newpool eq ""} {
pool $default_pool
if { $static::ProxyPassDebug > 0 } { log local0. "$log_prefix: Using default pool $default_pool" }
set newpool $default_pool
} else {
pool $newpool
if { $static::ProxyPassDebug > 0 } { log local0. "$log_prefix: Using parsed pool $newpool (make sure you have OneConnect enabled)" }
}
}
}
}
This appears to work in some very quick testing... Will have to do a bit more to confirm though...
Can anybody see any issues with doing this???
Cheers
Gav
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