Forum Discussion
hooleylist
Oct 12, 2012Cirrostratus
Nevermind, this looks like a bug in this section of the iRule:
383 Fix Location, Content-Location, and URI headers
384 foreach header {"Location" "Content-Location" "URI"} {
385 set protocol [substr [HTTP::header $header] 0 $host_serverside]
386 if {$protocol ne ""} {
387 set server_path [findstr [HTTP::header $header] $host_serverside [string length $host_serverside]]
388 if {$server_path starts_with $path_serverside} {
389 if { $static::ProxyPassDebug } {
390 log local0. "$log_prefix: Changing response header $header: [HTTP::header $header] with $protocol$host_clientside$path_clientside[substr $server_path [string length $path_serverside]]"
391 }
392 HTTP::header replace $header $protocol$host_clientside$path_clientside[substr $server_path [string length $path_serverside]]
393 }
394 }
395 }
I'll see if there's a simple fix we can add to the general iRule. Else, maybe we can tailor something your your implementation.
Aaron