From owner-freebsd-questions Thu Sep 26 10:48:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3057037B401 for ; Thu, 26 Sep 2002 10:48:56 -0700 (PDT) Received: from web.threeh.com (bdsl.66.12.217.114.gte.net [66.12.217.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48BA343E42 for ; Thu, 26 Sep 2002 10:48:55 -0700 (PDT) (envelope-from rlucas@threeh.com) Received: (qmail 72060 invoked from network); 26 Sep 2002 17:48:54 -0000 Received: from unknown (HELO winblowz) (12.222.152.73) by web.threeh.com with SMTP; 26 Sep 2002 17:48:54 -0000 Message-ID: <015a01c26584$fc8fb4c0$3200a8c0@winblowz> From: "Richard Lucas" To: Subject: reverse proxy? Date: Thu, 26 Sep 2002 12:48:56 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am looking for something that I can setup to forward http and https requests to other machines. Most of the requests would be forwarded to internal machines although I do have one that would be forwarded to another machine on the internet. What I would like to do is when that machine is down I serve a local page that basically says it's down for upgrades. If I can't get it to do that however it would be fine for it to serve the local cache. From my research it looks as if squid can do part of what I need but from what I've read it can only forward requests to one server. I need something that can forward requests to multiple servers depending on what is requested. For example, if someone requested www.bleh.com it would forward internally to 192.168.0.10 and www.blah.net would forward to 192.168.0.11. I guess basically a reverse proxy that can do something like name based virtual hosting. Can this be done with apache? And if so could someone point me in the right direction on how to set something like this up. Thanks in advance for any help you can give. -Richard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message