Hi,
I have an application that is currently running on weblogic. There is an apache HTTP server proxy for it so that requests to
https://10.12.120.12/abc/def gets routed to
http://10.12.120.12:8090/xyz/ggg
I need to add a
jboss proxy to this file so that requests to
https://10.12.120.12/aaa/bbb(different url) gets routed to the same
http://10.12.120.12:8090/xyz/ggg.
I cannot shutdown my weblogic instance.
Since httpd.conf already has a name virtual host with 10.12.120.12 , I am confused on how to create this proxy.
It looks like this:
QUOTE:
#
# Weblogic Proxy
#
LoadModule weblogic_module libexec/mod_wl.so
#
# AddModule mod_weblogic.c
NameVirtualHost 10.13.120.12
<VirtualHost 10.13.120.12>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
ServerName jackson
<Location /abc/def>
SetHandler weblogic-handler
WebLogicHost myserver
WebLogicPort 8090
ConnectTimeoutSecs 600
# disable TRACE and TRACK in the www.example.com virtual host
#RewriteEngine On
#RewriteCond %{REQUEST_METHOD} ^TRACE
#RewriteRule .* - [F]
#RewriteCond %{REQUEST_METHOD} ^TRACK
#RewriteRule .* - [F]
</Location>
</VirtualHost>
UNQUOTE
I have already configured my jboss server to run on port 8190.
I have not yet made any changes to \server\myserver\deploy\jboss-web.deployer\server.xml to allow for any apache proxy changes, since I am not sure how!
I guess I would need to create a new Connector port listing for this new port.
Could anyone please help with some steps. I checked some of the other posts, but they are dealing mainly with just direct proxying through jboss, but I would have to proxy through apache, and with the Secure connection too.
Thank you
Karthik