Apache 2.4.10. We have many users who still access a site using http://sub.domain.com/webapp/page.<http://sub.domain.com/webapp/page/user/username/dashboard.> We first want to redirect that above link to https. We would also like to redirect http://sub.domain.com<http://sub.domain.com/> to https://sub.domain.com/webapp. We have this working in the virtual host:80 with this:
ProxyPass /webapp/ https://sub.domain.com/webapp/ ProxyPassReverse /webapp/ https://sub.domain.com/webapp/ RedirectMatch ^/$ https://sub.domain.com/webapp/ What does not work is this: ProxyPass /webapp/page/ https://sub.domain.com/webapp/ ProxyPassReverse /webapp/page/ https://sub.domain.com/webapp/ RedirectMatch ^/$ https://sub.domain.com/webapp/page/ When you type sub.domain.com/webapp/page in a browser, it does not redirect to https. Can anybody see why it is not redirecting to https?