Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BEE0BDF04 for ; Tue, 10 Jul 2012 23:37:20 +0000 (UTC) Received: (qmail 93642 invoked by uid 500); 10 Jul 2012 23:37:17 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 93552 invoked by uid 500); 10 Jul 2012 23:37:17 -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 93543 invoked by uid 99); 10 Jul 2012 23:37:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 23:37:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pedzsan@gmail.com designates 209.85.160.45 as permitted sender) Received: from [209.85.160.45] (HELO mail-pb0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 23:37:10 +0000 Received: by pbbro12 with SMTP id ro12so1241563pbb.18 for ; Tue, 10 Jul 2012 16:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=0Zs2XC6pqAS87KZEpiDpom/cl/G+BrZXwdfaPH7FdVY=; b=s1ijPFcNomMRwFwrxIxChaku0KbnmRGVlb/eDk5r8r4pTaqr8TUq0wryBLuPk2ok8Z On/Dx43ofOf6YW9tvVTYDYe9ReAeroNDoaXdFE2Yt5VXIwIth5TLsZaAPHZBb1iDv3vF THRTl2PNQW8UQaWDZ011wd79JAC9fmVdXGZeB/wZkB1UV893q6ssT0d8hEEI6FIfclWC qzYN+f0he3Icf6UnfwnZSr5d4HhrveqgEYgfJupwmG3SoOFbAk10FmS6qK5uFcpLpKZ1 lJHrm7l8UAGj9yqekn5hyVWEy276FkzeIybS//rXA9HLwm+fRbu6coPq6AB670KCtbKH eSyg== Received: by 10.68.233.201 with SMTP id ty9mr8739034pbc.34.1341963409270; Tue, 10 Jul 2012 16:36:49 -0700 (PDT) Received: from magicbook.austin.ibm.com ([32.97.110.54]) by mx.google.com with ESMTPS id gl1sm434435pbc.71.2012.07.10.16.36.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 Jul 2012 16:36:48 -0700 (PDT) From: Perry Smith Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: multipart/alternative; boundary="Apple-Mail=_D2415B47-AD2E-481E-BF64-7D3A41B6CE3E" Date: Tue, 10 Jul 2012 18:36:44 -0500 In-Reply-To: <97E624A2-311E-4C2E-A795-DC76CCCD3774@electrichendrix.com> To: users@httpd.apache.org References: <2105175210.34096.1341350029019.JavaMail.root@electrichendrix.com> <1727737114.34111.1341350734063.JavaMail.root@electrichendrix.com> <06EE4A8F-A8CE-4B4F-846E-31AF24A6A267@electrichendrix.com> <733BA551-4EB3-4133-BC79-697C2BB12890@electrichendrix.com> <4FFB5B29.40608@primary.net> <70063579-E71E-4223-B80F-1750B04D4E0E@electrichendrix.com> <1783A70C-8893-4BCD-A060-D7F9EDE1F36D@electrichendrix.com> <97E624A2-311E-4C2E-A795-DC76CCCD3774@electrichendrix.com> Message-Id: <34C4DFF6-5273-4578-8119-FF8E80011808@gmail.com> X-Mailer: Apple Mail (2.1257) Subject: Re: [users@httpd] Rewrite Rule Help (again) --Apple-Mail=_D2415B47-AD2E-481E-BF64-7D3A41B6CE3E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Jul 10, 2012, at 6:11 PM, Chris Arnold wrote: > Am I not asking the right question? Have I not given enough = information? Or am I missing something? >=20 > Sent from my iPhone >=20 > On Jul 10, 2012, at 1:27 PM, Chris Arnold = wrote: >=20 >> Anybody got any ideas? >>=20 >> Sent from my iPhone >>=20 >> On Jul 9, 2012, at 7:24 PM, Chris Arnold = wrote: >>=20 >>> On Jul 9, 2012, at 6:28 PM, Daniel Ruggeri = wrote: >>>=20 >>>> On 7/9/2012 5:03 PM, Chris Arnold wrote: >>>>> So the RewriteRule ^/$ http://192.168.123.2 [L]=20 >>>>> Sends all traffic to 192.168.123.2. I just need = http://update.domain.com traffic to go to the 192.168.123.2 host. >>>>=20 >>>> Chris; >>>> I think more information is needed... how do clients get to = "update.domain.com" and the rest of your domains? >>>=20 >>> Not really sure what you mean but clients get to update.domain.com = from the Internet and the intranet (intranet is through a VPN. Internet = is over http. We have a public dns entry and a private dns entry). When = the request hits our firewall, the firewall sends all port (in this = instance) 80 request to the apache server and I need apache to send = update.domain.com to a different LAN server (running iis 7.5). >>> I hope this answered your question? >>>=20 >>>> You may be able to use a condition like so: >>>> RewriteCond %{HTTP_HOST} update.domain.com >>>> RewriteRule ^/$ http://192.168.123.2 [L]=20 >>>=20 >>> I tried this and when going to update.domain.com, I get the default = site from the apache server. I'm sorta of a newbie here so I feel a little timid. But I don't have a = clue what the symptoms are. What is "the default site"? What do you = want to happen verses what is actually happening? --Apple-Mail=_D2415B47-AD2E-481E-BF64-7D3A41B6CE3E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Am I not asking the right = question? Have I not given enough information? Or am I missing = something?

Sent from my iPhone

On Jul 10, 2012, at = 1:27 PM, Chris Arnold <carnold@electrichendrix.com> wrote:


=20 =20 =20
On 7/9/2012 5:03 PM, Chris Arnold wrote:
So the RewriteRule ^/$ http://192.168.123.2 = [L] 
Sends all traffic to 192.168.123.2. I just need = http://update.domain.com traffic to go to the 192.168.123.2 host.

Chris;
   I think more information is needed... how do clients = get to "update.domain.com" and = the rest of your domains?

Not really = sure what you mean but clients get to update.domain.com from the = Internet and the intranet (intranet is through a VPN. Internet is over = http. We have a public dns entry and a private dns entry). When the = request hits our firewall, the firewall sends all port (in this = instance) 80 request to the apache server and I need apache to send update.domain.com to a different = LAN server (running iis 7.5).
I hope this answered your = question?

You may be able = to use a condition like so:
RewriteCond %{HTTP_HOST} update.domain.com
RewriteRule ^/$ http://192.168.123.2 [L]
=20

I tried this and when going to update.domain.com, I get the = default site from the apache = server.

I'm sorta of a newbie here so I feel a little = timid.  But I don't have a clue what the symptoms are.  What = is "the default site"?  What do you want to happen verses what is = actually happening?

= --Apple-Mail=_D2415B47-AD2E-481E-BF64-7D3A41B6CE3E--