ema_128890
Jul 07, 2016Nimbostratus
offload ssl and adding new uri
Hi,
I have a VS setup for port 443 with client ssl profile and a pool with one member. HTTP profile is also in use. I'm looking for help so that when someone hits the VS at https://abc.com it will add the uri /reports to it. Here is the irule i have so far.
when HTTP_REQUEST { if { [HTTP::uri] eq "/" } { HTTP::redirect "https://[HTTP::host]/reports" } }
I'm getting too many redirects when using this irule. Is this the path I should be looking into or something totally different?
Thanks
Hi,
Try adding a log on your irule and trace what happens on the client side with fiddler tool.
You can also change your irule :
when HTTP_REQUEST { if { [HTTP::uri] eq "/" } { HTTP::uri "/reports" } }