PIRONET Benoit wrote:
> Hello everybody
> 
>  
> 
> I have an apache 2.2.4 on a freebsd 5.4 server.
> 
>  
> 
> I try to set up a virtual host with load balancing.
> 
>  
> 
> Here is a part of my httpd.conf:
> 
> LoadModule proxy_module libexec/apache22/mod_proxy.so
> 
> LoadModule proxy_balancer_module libexec/apache22/mod_proxy_balancer.so
> 
> LoadModule proxy_http_module libexec/apache22/mod_proxy_http.so
> 
> LoadModule proxy_connect_module libexec/apache22/mod_proxy_connect.so
> 
> LoadModule proxy_ftp_module libexec/apache22/mod_proxy_ftp.so
> 
> LoadModule proxy_ajp_module libexec/apache22/mod_proxy_ajp.so
> 
>  
> 
> The load balancer status:
> 
> <Location /balancer-manager>
> 
> SetHandler balancer-manager
> 
>  
> 
> Order Deny,Allow
> 
> Deny from all
> 
> Allow from all
> 
> </Location>
> 
>  
> 
> And the configuration of my vhost for load balancing:
> 
> <VirtualHost *:80>
> 
>         ServerName lbtest.lifeonline.be
> 
>         ServerAdmin [EMAIL PROTECTED]
> 
>         ProxyPass / balancer://mycluster2 stickysession=PHPSESSIONID
> nofailover=On
> 
>         <Proxy balancer://mycluster2>
> 
>                 BalancerMember http://www.lifeonline.be:80
> 
>         </Proxy>
> 
>         ErrorLog /var/log/http-balancer_error
> 
> </VirtualHost>
> 
>  
> 
> I get two problems:
> 
>  - I can’t get sub-ressources out of a balanced host using the load
> balancer virtual host.
> 
>    I get this error in the error log file:
> 
> [Sun Mar 25 18:49:00 2007] [warn] proxy: No protocol handler was valid
> for the URL /img/logo.jpg. If you are using a DSO version of mod_proxy,
> make sure the
> 
> proxy submodules are included in the configuration using LoadModule.
> 
>  
> 
> I read on the web that sub modules of mod_proxy has to be enabled but
> they are. And I don’t find any other solution.
> 
>  
> 
> The second problem is about http://www.lifeonline.be/balancer-manager
>   The url runs but no balancing options are proposed. I only get this:
> 
> 
>   *Load Balancer Manager for www.lifeonline.be*
> 
> Server Version: Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e
> DAV/2 PHP/5.2.1

If you are using mod_proxy_http you have to create one ProxyPassReverse
for each BalancerMember you define in the balancer.

Regards,

        Peter

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to