2 Replies Latest reply: Nov 30, 2012 9:51 PM by Cuong Pham RSS

    How to setup Custom Error Page for Apache HTTPD with Mod_WL

    Cuong Pham
      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.