Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORDS 3.0 / Multiple Domains / Tomcat SSL

brian.mcginityMay 16 2015 — edited May 25 2015

I am working on bringing over an apache mod_plsql app to ORDS and have a couple of questions:

1. I have a need to run multiple domains and currently do this with multiple ip addresses:  https:/domain1.com on the first ip and https://domain2.com on the 2nd ip address. Under apache/mod_plsql I used 2 ip addresses and virtual hosts as SNI was unavailable at the time.  Each domain accesses different DADs.

As I am moving to ORDS 3.0 / Tomcat, what is the recommended way to do this?

2. There are a lot of static resources such as images and javascript files which are served with a max-age=1 year.  This keeps the browsers from making unnecessary roundtrips (even eTag lookups) and helps page load times.

What is the best method (or a pretty good method) to do this?  Is there a way in ORDS/Tomcat to specify the max-age a directory and subdirectorates?   Or is it recommended to run Apache in front of Tomcat and let Apache handle SSL offloading and treat Tomcat/ORDS as proxy?

This post has been answered by Colm Divilly-Oracle on May 18 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 22 2015
Added on May 16 2015
4 comments
1,335 views