Hello guys!

I'm having trouble to setting up a CakePHP app on a balanced
environment: sessions seems to be lost between requests. I'm already
using database to save sessions.

Below is my balancer config:

<VirtualHost 10.0.0.100:80>
  DocumentRoot /var/www/html
  DirectoryIndex index.htm index.html index.php
  ServerName www3.dominio.com
  Options -Indexes +FollowSymLinks

  ProxyPass /server-status !
  ProxyPass /balancer-manager !
  ProxyPass / balancer://WebCluster/ stickysession=BALANCEID
nofailover=Off
  ProxyPassReverse / balancer://WebCluster/

  <Proxy balancer://WebCluster>
    BalancerMember http://web1.dominio.com loadfactor=10
route=web1.dominio.com
    BalancerMember http://web2.dominio.com loadfactor=10
route=web2.dominio.com
    ProxySet lbmethod=byrequests
  </Proxy>

  <Location /balancer-manager>
    SetHandler balancer-manager
    Order deny,allow
    Allow from 192.168.0.0/20
  </Location>

</VirtualHost>

There is something I'm missing?

I appreciate if anyone can help me. =)

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to