Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 82999 invoked from network); 22 Nov 2005 12:59:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Nov 2005 12:59:33 -0000 Received: (qmail 70722 invoked by uid 500); 22 Nov 2005 12:59:19 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 70651 invoked by uid 500); 22 Nov 2005 12:59:18 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 70617 invoked by uid 99); 22 Nov 2005 12:59:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2005 04:59:18 -0800 Received-SPF: pass (asf.osuosl.org: local policy) Received: from [143.158.200.214] (HELO fsjubj14.exchange.gunter.af.mil) (143.158.200.214) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2005 05:00:50 -0800 Received: from fsjubj16.exchange.gunter.af.mil ([143.158.200.216]) by fsjubj14.exchange.gunter.af.mil with Microsoft SMTPSVC(6.0.3790.1830); Tue, 22 Nov 2005 06:58:57 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 22 Nov 2005 06:58:56 -0600 Message-ID: <3AC69F7C2969B04C9746761EEC94EA85217A1B@fsjubj16.exchange.gunter.af.mil> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Proxy and Virtual Host Thread-Index: AcXvGHJhw1IA3pgXQgOOwS8kSfQJHgASi4pg From: "Flanakin Michael C Ctr HQ OSSG/OMR" To: X-OriginalArrivalTime: 22 Nov 2005 12:58:57.0315 (UTC) FILETIME=[7FFF8F30:01C5EF64] X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Proxy and Virtual Host X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N No, that's perfect. As long as outside requests come on port 80, I don't care how internal ports are treated. The biggest thing was that I wasn't sure if I could setup a proxy block within a virtual host block. Just one question. Can I specify the domain address as opposed to the IP address in the virtual host definition? ... All of my traffic is coming to the same IP, so my assumption is that having 3 or so virtual hosts with the same IP wouldn't work. If it will, that'd be fine, tho. Also, would it be possible to have multiple domain names proxied with one call (i.e. *.mysite.com)? This would save me time when registering new subdomains and such. Thanks for the help! I'll try this out when I get access to that machine, again. Michael -----Original Message----- From: Stuart Low [mailto:stuart@serverpeak.com]=20 Sent: Monday, November 21, 2005 9:54 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Proxy and Virtual Host Heya, > www.mysite.com - IIS > www.mysite.net - IIS > svn.mysite.net - Apache > Is this possible? I'm not very familiar with Httpd, but I have set it=20 > up about half a dozen times for Subversion. Thanks in advance for any=20 > help! Yes it's possible. What you need to do is forward the incoming port 80 request to Apache. Then setup a mod_proxy setup for the virtualhosts you require (ala mysite.com & svn.mysite.net). Provided local DNS resolution is setup correctly the Apache server will do a lookup, resolve to the local LAN address and proxy traffic to/from. Something like: ServerName www.mysite.com ProxyRequests Off Order deny,allow Allow from all ProxyPass / http://www.mysite.com:81/ ProxyPassReverse / http://www.mysite.com:81/ Where 123.123.123.123 is the address your inbound port 80 traffic is going to. Port 81 is your IIS server (could put Apache on 81 and prrroxy from 81 -> 80 if you feel like it). Stuart --------------------------------------------------------------------- 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