Merlin_kv_17750
Jun 17, 2015Nimbostratus
Redirect without path rewriting
Hello,
A company wants to use local link accessing public resource, but after redirect url path shouldn't change to external and stay local. Another words, it is possible dynamically rewrite pub...
- Jun 17, 2015
Yep, it can be done
when HTTP_REQUEST { if { ( [HTTP::host] == "fqdn.clientside.int" ) && ( [HTTP::path] == "/" ) }{ HTTP::host "www.foo.com" Rewrite the HTTP Host header value, before routing the request to a pool-member. HTTP::path "/blabla" Rewrite the request path (Use if path masking is needed). } }