and sorry if the question looks stupid (it may be ^^), I'm a newbie in HTTP server.
We use OBIEE 11g, that means we have Weblogic and we chose to use an Oracle HTTP Server (OHS, built on Apache) in front. OHS uses mod_wl_ohs
to interact with Weblogic, here is the mod_wl_ohs.conf
file:
## Fusion Applications Name Based Virtual Host Configuration
RedirectMatch 301 ^/analytics$ /analytics/
RedirectMatch 301 ^/AdminService$ /AdminService/
LoadModule weblogic_module "${ORACLE_HOME}/ohs/modules/mod_wl_ohs.so"
# global plugin-options
WLForwardUriUnparsed ON
KeepAliveEnabled ON
KeepAliveSecs 20
DynamicServerList OFF
WLProxySSL ON
## Context roots for BI EE
<Location /analytics >
SetHandler weblogic-handler
WebLogicCluster miaibv194.mia.michelin.com:9704
</Location>
## Context roots for AdminService
<Location /AdminService >
SetHandler weblogic-handler
WebLogicCluster miaibv194.mia.michelin.com:7001
</Location>
If I understand well, the RedirectMatch and corresponding Location directives (even if I don't get exactly the responsibilities of the 2) are used to pass URLs like /analytics
and /AdminService
to Weblogic.
I'd like to know how I could redirect HTTP errors 500 from URLs like /analytics
to a custom page: is this possible ? I had a look at the ErrorDocument
directive, but from what I could see it appeared it could only be used for physical path (i.e. under the Directory
directive for instance), did I miss something ?
Thanks for your help, and do not hesitate to ask me for clarifications (I'll try to answer the best as I can) !