Apache 重定向匹配到http和HTTPS的上下文路径

Apache 重定向匹配到http和HTTPS的上下文路径,apache,http-proxy,Apache,Http Proxy,我需要在下面两个URL中使用apache proxy conf中的重定向匹配规则 http://example.com/应重定向到http://example.com/app/ https://example.com/应重定向到https://example.com/app/

我需要在下面两个URL中使用apache proxy conf中的重定向匹配规则

http://example.com/
应重定向到
http://example.com/app/

https://example.com/
应重定向到
https://example.com/app/