Apache with mod_jk maintenance page when tomcat goes down

Discussion in 'Apache' started by webamol, Sep 4, 2016.

  1. #1
    Hello All,

    I would like to set Apache maintenance page when tomcat goes down.

    I have apache installed and using mod_jk connector to redirect request to backend tomcat servers.

    I did following configurations under virtualhost 443 to setup maintenance page but it is not working as expected.

    Alias /error/ "/opt/apache24/htdocs/"
    ErrorDocument 503 /error/maintenance.html
    JKMount /UserPortal tomcat1
    JKMount /UserPortal/* tomcat1
    JkUnMount /error* tomcat1

    Kindly suggest if anything else is required to setup maintenance page.

    Thanks
     
    webamol, Sep 4, 2016 IP