Oracle Weblogic Server (MOSC)

MOSC Banner

DocumentRoot equivalent in OTD

Hi Experts,

My customer has been provisioned JCS 12.2.1.3 with OTD.

Their on-premises implementation uses OHS where they implemented the following directives for serving Angular application pages:

httpd.conf

---------------

DocumentRoot "${ORACLE_INSTANCE}/config/fmwconfig/components/${COMPONENT_TYPE}/instances/${COMPONENT_NAME}/htdocs"

<Directory "${ORACLE_INSTANCE}/config/fmwconfig/components/${COMPONENT_TYPE}/instances/${COMPONENT_NAME}/htdocs">

pos.conf

------------

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d

RewriteRule ^ - [L]

# If the requested resource doesn't exist, use index.html

RewriteRule ^ /index.html

The objective here is to resemble what exist in OHS configuration files in OTD.

Any idea will be highly appreciated.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center