Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd April 2008, 23:34
wingnut144 wingnut144 is offline
Junior Member
 
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Setting Up A High-Availability Load Balancer (With Failover and Session)

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.......
Reply With Quote
Sponsored Links
  #2  
Old 4th April 2008, 13:30
o.meyer o.meyer is offline
Senior Member
 
Join Date: Aug 2007
Posts: 167
Thanks: 2
Thanked 24 Times in 23 Posts
 
Default

Hi wingnut144,

what happens when you try to reach the page http://health.example.com, respectively http://192.168.0.120?. Is your workstation in the same network? (192.168.0.0/24)

Best regards,

Olli
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.