Overriding a ProxyPass from the main config in a VirtualHost
Issue
-
We have a ProxyPass specified in the main config that we want to override in a VirtualHost, for example:
ProxyPass / http://destination1.com:8080/ NameVirtualHost *:80 <VirtualHost *:80> ServerName proxytodestination2instead.com ProxyPass / http://destination2.com:8180/ </VirtualHost>
It looks like only the ProxyPass from the main config will be used though. Is there anyway we can have the Virtual Host's ProxyPass take precedence?
Environment
- JBoss Enterprise Web Server (EWS)
- Red Hat Enterprise Linux (RHEL)
- Apache httpd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.