About Setting Up A High-Availability Load Balancer

Discussion in 'HOWTO-Related Questions' started by satimis, Oct 28, 2010.

  1. satimis

    satimis New Member

    Hi folks,

    re: Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Heartbeat On Debian Lenny
    http://how2forge.net/setting-up-a-h...lancer-with-haproxy-heartbeat-on-debian-lenny

    2 Preparing The Backend Web Servers
    http1/http2
    Code:
    put these two lines into it (comment out all other CustomLog directives in your vhost configuration):
    
    vi /etc/apache2/sites-available/default
    
    [...]
    SetEnvIf Request_URI "^/check\.txt$" dontlog
    CustomLog /var/log/apache2/access.log combined env=!dontlog
    
    Whether perform follows on /etc/apache2/sites-available/default
    Code:
    #       CustomLog /var/log/apache2/access.log combined
            SetEnvIf Request_URI "^/check\.txt$" dontlog
            CustomLog /var/log/apache2/access.log combined env=!dontlog
    
    TIA

    B.R.
    satimis
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What is the question?
     
  3. satimis

    satimis New Member

    Just wondered whether it is the correct place adding those 2 lines and comment out
    Code:
    #       CustomLog /var/log/apache2/access.log combined
    
    ??

    I haven't proceeded further yet.

    Thanks

    B.R.
    satimis
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Yes, that's the correct location.
     
  5. satimis

    satimis New Member

    Noted and thanks.

    I'll continue later when time allows.

    B.R.
    satimis
     

Share This Page