Problem with Setting Up A High-Availability Load Balancer (With Failover and Session)

Discussion in 'HOWTO-Related Questions' started by wingnut144, Apr 3, 2008.

  1. wingnut144

    wingnut144 New Member

    I've completed the setup, and as far as I can tell, the load balance portion seems to be working....

    But I can't get pages to display in a web browser.....I created a simple html file and put it in DocumentRoot /var/www/haproxy as explained in:

    NameVirtualHost 192.168.0.112:80

    <VirtualHost 192.168.0.112:80>
    ServerName health.example.com
    ServerAdmin admin@example.com
    DocumentRoot /var/www/haproxy

    SetEnvIf Request_URI "^/check\.txt$" dontlog
    LogLevel warn
    ErrorLog /var/log/httpd/vhost_error.log
    CustomLog /var/log/httpd/vhost_access.log combined env=!dontlog
    </VirtualHost>

    Does anyone have any suggestions on how I can resolve this?? Its just telling me that the page can't be found.......
     
  2. o.meyer

    o.meyer HowtoForge Supporter

Share This Page