ProxyPass URI problem

I am using the proxypass rule to rewrite headers on the following sites. I am currently on LTM 9.3.1

https://www.mysite.gov/vendorreg

The site comes up, but it is redirected to http://www.mysite.gov/vendorreg

I have created the following proxypass strings (vendorreg-https is the pool name)

/vendorreg /bso vendorreg-https

/bso /bso vendorreg-https

I have also put the following in ProxyPassSSLProfiles

mypool-https serverssl

https://www.mysite.gov/etax

The site comes up, but it is redirected to http://www.mysite.gov/etax

I have created the following proxypass strings (etax-https is the pool name)

/etax /inet/ etax-https

/inet /inet/ etax-https

I have also put the following in ProxyPassSSLProfiles

etax-https serverssl

I cannot figure out why the sites are being redirected to HTTP. I am sure it is probably something easy…

Also - I thought that I would try a Stream Profile to force the redirect, but it is not working either.

Hi,

The ProxyPass iRule doesn’t automatically rewrite redirects from HTTP to HTTPS. Can you try enabling rewrite redirects on a custom HTTP profile which you add to the VIP and retest?

If that doesn’t work, can you post the version of ProxyPass that you’re testing, enable debug on the iRule and include logs from /var/log/ltm? Is the redirect happening automatically via a 30x redirect or is it occurring when you click on a link (or some other reference to http:// in the payload)?

Aaron