From owner-freebsd-questions Fri Jan 14 16:15:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fh106.infi.net (fh106.infi.net [209.97.16.33]) by hub.freebsd.org (Postfix) with ESMTP id 339FD151EF for ; Fri, 14 Jan 2000 16:15:13 -0800 (PST) (envelope-from bsdbox@citizen.infi.net) Received: from citizen.infi.net (pm3-127.w66.infi.net [208.130.33.127]) by fh106.infi.net (8.8.8/8.8.8) with ESMTP id TAA07375 for ; Fri, 14 Jan 2000 19:15:10 -0500 (EST) Message-ID: <387FBBEB.84BAE743@citizen.infi.net> Date: Fri, 14 Jan 2000 19:14:35 -0500 From: Scott Gregory X-Mailer: Mozilla 4.04 [en] (WinNT; U) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Apache Virtual Hosts and Apache Reverse Proxy Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have 3 websites each with a primary and backup server. foo-a.com bar-a.com www-a.com foo-b.com bar-b.com www-b.com Can I use the virtual hosts with an apache reverse proxy so I can setup load balancing/failover? I would like to send requests for foo.com to servers foo-a and foo-b, requests for bar.com to two other servers, bar-a and bar-b, and requests for www.com to servers www-a and www-b. I know the reverse proxy can be set up to send static pages to one set of servers and cgi to another set of servers, but can I set up multiple sets of servers for different hosts? I do not plan to have virtual hosts running on foo-a and foo-b, so the virtual hosts would be used in the proxy server. If this works without virtual hosts running on the -a and -b servers, would it work WITH virtual hosts on the -a and -b servers? This would make for a really interesting httpd.conf!! Any pointers/comments/successes/failures? Thanks in advance, Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message