From owner-freebsd-questions@FreeBSD.ORG Tue Jun 15 00:20:52 2004 Return-Path: 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 51E2716A4CE for ; Tue, 15 Jun 2004 00:20:52 +0000 (GMT) Received: from pd5mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23F2C43D48 for ; Tue, 15 Jun 2004 00:20:52 +0000 (GMT) (envelope-from flowers@users.sourceforge.net) Received: from pd3mr2so.prod.shaw.ca (pd3mr2so-ser.prod.shaw.ca [10.0.141.178])2003))freebsd-questions@freebsd.org; Mon, 14 Jun 2004 12:42:24 -0600 (MDT) Received: from pn2ml9so.prod.shaw.ca ([10.0.121.7]) by pd3mr2so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0HZB003X6AMLJ880@pd3mr2so.prod.shaw.ca> for freebsd-questions@freebsd.org; Mon, 14 Jun 2004 12:42:24 -0600 (MDT) Received: from sirius (S0106004001438e5b.cg.shawcable.net [68.144.47.89]) 2003))freebsd-questions@freebsd.org; Mon, 14 Jun 2004 12:42:21 -0600 (MDT) Date: Mon, 14 Jun 2004 12:42:19 -0600 From: Dan MacMillan In-reply-to: To: "Goodleaf, John" Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal cc: freebsd-questions@freebsd.org Subject: RE: web serving X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 00:20:52 -0000 Goodleaf, John wrote: > Please reply to john@goodleaf.net > So I have a FreeBSD server at home serving some web pages, mostly web > mail (Apache). It's running on a DSL line behind a gateway that > forwards port 80 requests to it. Now here's the problem. I need to > serve also from an IIS .NET server (it's for my girlfriend; don't bug > me). So my question: How do I serve some things from the IIS server > and some from the BSD server? Do I set up some kind of proxying? > I'm sure there are three hundred solutions, but this is not something > I've ever had to learn about. I'm willing to RTFM; I just want to be > pointed in the right direction. > Thanks, > John If you need it on the same IP address and port, you can set up a reverse proxy using mod_proxy. I've only ever used it with Apache 2 but I think it works the same on 1.3, if that's what you're using. You basically specify that requests for a particular path will be served by another server. This can be combined with virtual hosts if you want. See the ProxyPass and ProxyPassReverse directives. http://httpd.apache.org/docs-2.0/mod/mod_proxy.html -- Danny