7 Replies Latest reply on May 18, 2009 10:52 AM by Jean-Frederic Clere

    Help configuring httpd.conf with regards to VirtualHost

    Kevin Orey Newbie

      Hi,

      I am going through the quick start guide and I am at step 3 Configuring HTTPD. I have my VirtualHost definitions externalized to a vhosts.conf file. This file contains 2 VirtualHost definitions one for port 443 and one for port 80. When i try to add the following lines under both VirtualHost definitions:

      KeepAliveTimeout 60
      MaxKeepAliveRequests 0

      ManagerBalancerName mycluster
      AdvertiseFrequency 5

      I get the following error:

      Syntax error on line 52 of /http/conf/vhosts.conf:
      All Advertise directives must be in the same VirtualHost
      /http/conf

      My question is what do you do if you have multiple VirtualHost definition with regards to adding the above lines? Does each VirtualHost need the AdvertiseFrequency line? Should each VirtualHost definition have a unique ManagerBalanceName or the same one?

      Thanks for any help!