0

I have an F5 URL portal.example.com which points to an Oracle HTTP Server(OHS) on specific port 85. I have below settings in custom file under moduleconf folder.

NameVirtualHost *:85
<VirtualHost *:85>
ServerName portal.example.com:85
RedirectMatch ^/$ http://portal.example.com/webcenter/portal/MyPortal
RewriteRule ^/webcenter/(portal|portal/home)?$ http://portal.example.com/webcenter/portal/MyPortal [R=301,L]

<Location /webcenter>
 SetHandler weblogic-handler
 WebLogicCluster portalmachine01:9001,portalmachine01:9002
</Location>

</VirtualHost>

This setting works fine. When users type portal.example.com on browser, the port 85 is not being displayed as this port is mapped to OHS IP address at F5 level.

Now I want to install Oracle WebCache to improve performance on portal. I want to use same server name and also include webcache port 7788 to same settings. How can I make changes to above virtual host settings so that both ports work on same server name? Please remember that we don't want user to see any port(85 or 7788) in browser. Do we need also need to change port mapping for this server name at F5 level too?

Appreciate your pointers.

Thanks!

1 Answer 1

0

WebCache is supposed to run as a reverse proxy in front of OHS. You should point the BigIp LB to WebCache and then register OHS as an origin server under WebCache and map your virtual host in WebCache to the OHS origin server.

4
  • thank you for your comment. I will ask network team to change the port from OHS to webcache at F5 level. Feb 12, 2015 at 19:44
  • Just take care to have webcache configured before they do that. You can test it beforehand by accessing webcache's ip:port directly. Feb 12, 2015 at 21:06
  • Yes. webcache is configured and I am able to access webcache admin console too. I also did the mapping for webcache to OHS origin server. Feb 12, 2015 at 21:57
  • Then you're set! Let me know if it works. Feb 12, 2015 at 22:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .