Forum Moderators: phranque
I have 2 registered domains that I want to use to host 2 different weblogic apps on the same machine and I thought I should run them on port 8001. For example the domain names are www.test.com and www.foo.com
I want someone on the internet that when they request [test.com...] or URLs under this that they will be redirected to [test.com:8001...] and URLs under it.
Similarly for a request to [foo.com...] to be redirected to [foo.com:8001...]
I just cannot for the life of me work out how to setup Apache's httpd.conf to do it. I can setup a proxy but it doesn't work at a site level but for all requests regardless of domain name they choose.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / [test.com:8001...]
ProxyPassReverse / [test.com:8001...]
Thanks in advance,
Stephen