Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 80366 invoked from network); 12 Aug 2004 15:19:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Aug 2004 15:19:45 -0000 Received: (qmail 37043 invoked by uid 500); 12 Aug 2004 15:19:28 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 36938 invoked by uid 500); 12 Aug 2004 15:19:27 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 36907 invoked by uid 99); 12 Aug 2004 15:19:26 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=URIBL_WS_SURBL X-Spam-Check-By: apache.org Received: from [143.115.171.153] (HELO thor.lmig.com) (143.115.171.153) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 12 Aug 2004 08:19:23 -0700 Received: from LM-EXIMS-02.lm.lmig.com (SMTP1 [147.179.184.111]) by thor.lmig.com (8.12.10+Sun/8.12.10) with ESMTP id i7CFJKmO020425 for ; Thu, 12 Aug 2004 11:19:21 -0400 (EDT) Received: from LM-EXMSG-10.lm.lmig.com ([147.179.184.122]) by LM-EXIMS-02.lm.lmig.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 12 Aug 2004 11:19:11 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6511.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Thu, 12 Aug 2004 11:19:10 -0400 Message-ID: <8636C212C055EA4E85CC85D2AD62C9970E27C53D@lm-exmsg-10.lm.lmig.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Load Balancing Problems Thread-Index: AcSAchGM/SjBWFjcTsaR/3luiv78dAADQmXg From: "Porter, Mark" To: X-OriginalArrivalTime: 12 Aug 2004 15:19:11.0251 (UTC) FILETIME=[B82F0E30:01C4807F] X-Virus-Checked: Checked Subject: RE: [users@httpd] Load Balancing Problems X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You might try setting up DNS this way: www.domain.com - IP1 and IP2, round-robin. www1.domain.com - IP1 www2.domain.com - IP2 Have a vhost (or a rewrite rule) on each server so that if the user = comes in using www.domain.com, they get redirected to www1 or www2. Set = one machine to send users to www1, the other to www2. Your "real" site will run as www1 or www2, but that will keep the users = stuck to one server, which should solve your session thing. Mark -----Original Message----- From: Fabricio Luiz Machado [mailto:soproman@yahoo.com.br]=20 Sent: Thursday, August 12, 2004 9:41 AM To: users@httpd.apache.org Subject: [users@httpd] Load Balancing Problems Hi there! I configured a DNS Round Robin load balancing environment. I know that=B4s not the better way, but is the way that I can pay... :-( So, I had two hosts with Apache 1.3.31 and PHP 4.3.8, with some applications. The problem is: If a client enters in 'server01', it creates a session. After this, if the same client enters in 'server02', the session doesn=B4t exist there and an application error is reported. How to solve the session lost problem ? Sorry about my poor english. Regards, Fabricio. =09 =09 =09 _______________________________________________________ Yahoo! Acesso Gr=E1tis - navegue de gra=E7a com conex=E3o de qualidade! = Acesse: http://br.acesso.yahoo.com/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server = Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org