Apache Redirect directive does not work on the server level
Issue
-
We need that some requests will be redirect to other site, but it seems that all requests with the context of application are redirect to Application server.
We have this configuration:
RedirectPermanent /myApp/example/index.html https://my.other.site.com/example/index.html .... <Location /myApp> ProxyPass "balancer://myBalancer/myApp/" ProxyPassReverse "balancer://myBalancer/myApp/" </Location>
Environment
- Red Hat Enterprise Linux (RHEL)
- 7+
- Red Hat Software Collections (RHSCL)
- 2.0+
- Red Hat JBoss Web Server (JWS)
- 3.0+
- Red Hat JBoss Core Services (JBCS)
- 2.4.23+
- Apache httpd
- 2.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.