1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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