Skip to Main Content

Integration

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!

How to setup Custom Error Page for Apache HTTPD with Mod_WL

Cuong PhamNov 23 2012 — edited Nov 30 2012
Hi everyone.
I'm using Apache HTTP Server v2.2 with Mod_WL to load balancing between WebLogic Server instances. The round-robin and fail-over work very good. But I need to setup a situation, that is display a custom error page which say "under maintenance" if no back-end WebLogic Server instance reached.

How to do it?

I created a html file, put it in "APACHE_ROOT/error/maintain.html", then set some directive on mod_wl.conf
<Location /cs>
        SetHandler weblogic-handler
        WebLogicHost app.tinhvan.com
        WebLogicPort 16200
        ErrorDocument 500 /error/maintain.html
</Location>
But Apache HTTP Server still response this message:
Failure of server APACHE bridge:

No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.
Any suggestions is appreciated.
Cuong Pham.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 28 2012
Added on Nov 23 2012
2 comments
6,574 views