Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 75269 invoked from network); 2 Jun 2009 13:44:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jun 2009 13:44:33 -0000 Received: (qmail 87623 invoked by uid 500); 2 Jun 2009 13:44:45 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 87583 invoked by uid 500); 2 Jun 2009 13:44:45 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 87573 invoked by uid 99); 2 Jun 2009 13:44:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2009 13:44:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of scarleton@gmail.com designates 209.85.217.157 as permitted sender) Received: from [209.85.217.157] (HELO mail-gx0-f157.google.com) (209.85.217.157) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2009 13:44:35 +0000 Received: by gxk1 with SMTP id 1so13764643gxk.0 for ; Tue, 02 Jun 2009 06:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type; bh=PVNh4bBt/5s11RIUP2qvMBjsylE8Ztvf6iILGf4/YSE=; b=QO8qXPIpYnuK8KcUg6/Osp3G2RXga9G9uDKQ0XmhucMjcPiI8caURZhMLiZp/Z3/BO QuJmuzuNPndaHALg/0nfrRMJW1fosfWy52YczV6vsLOSTjySTPvfdjsdERbJslM43jh1 v5XO4C9sk3MZeTgv8Ez1L8xW3PGmAPMaQg6/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=LU74TUXVf5tWJnjoeCpp/N3HIMckN+jF013YEkRPTitGFON254hYbcIwQchmai+bKk pNSy54n82QGkFWAAQx+bf28mP+3mjsx/oUtgZUI1FohGRc1qcDD5guliRjVifNERJAvc 0b6IDEINnQgL5mcz+Ffc5jru2zydyWYlP1By4= Received: by 10.90.86.10 with SMTP id j10mr866899agb.2.1243950254280; Tue, 02 Jun 2009 06:44:14 -0700 (PDT) Received: from ?192.168.6.13? ([12.169.35.46]) by mx.google.com with ESMTPS id 7sm9197659agd.3.2009.06.02.06.44.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Jun 2009 06:44:13 -0700 (PDT) Message-ID: <4A252CAC.7010302@gmail.com> Date: Tue, 02 Jun 2009 09:44:12 -0400 From: Sam Carleton User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Re: do I need a custom proxy? References: <8d38ca0a0906020545p7ea6e8ebma0fff2eeb4d5e5c5@mail.gmail.com> <20170a030906020638i4f8545dfr3a21cfa0d702ec34@mail.gmail.com> In-Reply-To: <20170a030906020638i4f8545dfr3a21cfa0d702ec34@mail.gmail.com> Content-Type: multipart/mixed; boundary="------------090809060703040307020700" X-Virus-Checked: Checked by ClamAV on apache.org --------------090809060703040307020700 Content-Type: multipart/alternative; boundary="------------080701080604080808050706" --------------080701080604080808050706 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I did not mention that I am only interested in HTTPS, not HTTP. It is my understanding that virtual host's don't work for HTTPS, is this correct? Sorin Manolache wrote: > On Tue, Jun 2, 2009 at 14:45, Sam Carleton wrote: > >> I do develop Apache Modules which is why I thought to ask this question >> here... >> >> I run a micro ISV out of my home and I only have one external IP address. I >> need to have some services on Apache and others on IIS. How would I pull >> this off since I only have one external IP address? My thought is create a >> custom mod_proxy that will redirect some URL's from the public facing Apache >> to the internal IIS. Is this the correct approach or is there an approach >> that does not require actual development? >> > > Can't you create two virtual hosts or two locations on your apache, > one of them handling requests and the other forwarding them to IIS? > > Something like > > > ServerName apache.my-domain.org > > > ServerName iis.my-domain.org > ProxyPass / http://internal-IP-of-IIS-server/ > > > and you register apache.my-domain.org and iis.my-domain.org as having > the same IP address in the authoritative nameserver of my-domain.org. > > or > > > > ProxyPass http://internal-IP-of-IIS-server/ > > > > S > > --------------080701080604080808050706 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I did not mention that I am only interested in HTTPS, not HTTP.  It is my understanding that virtual host's don't work for HTTPS, is this correct?

Sorin Manolache wrote:
On Tue, Jun 2, 2009 at 14:45, Sam Carleton <scarleton@miltonstreet.com> wrote:
  
I do develop Apache Modules which is why I thought to ask this question
here...

I run a micro ISV out of my home and I only have one external IP address.  I
need to have some services on Apache and others on IIS.  How would I pull
this off since I only have one external IP address?  My thought is create a
custom mod_proxy that will redirect some URL's from the public facing Apache
to the internal IIS.  Is this the correct approach or is there an approach
that does not require actual development?
    

Can't you create two virtual hosts or two locations on your apache,
one of them handling requests and the other forwarding them to IIS?

Something like

<VirtualHost *>
ServerName apache.my-domain.org
</VirtualHost>
<VirtualHost *>
ServerName iis.my-domain.org
ProxyPass / http://internal-IP-of-IIS-server/
</VirtualHost>

and you register apache.my-domain.org and iis.my-domain.org as having
the same IP address in the authoritative nameserver of my-domain.org.

or
<Location /apache>
</Location>
<Location /iis>
ProxyPass http://internal-IP-of-IIS-server/
</Location>


S

  
--------------080701080604080808050706-- --------------090809060703040307020700--