RE: [users@httpd] Rewrite Rule Help (again)

2012-07-11 Thread Brian Gaber
...@electrichendrix.com] Sent: Tuesday, July 10, 2012 10:20 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Rewrite Rule Help (again) In the event anyone comes across this, i got this to work using the following: RewriteEngine On RewriteCond %{HTTP_HOST} !^update.domain.com$ [NC

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-11 Thread Eric Covener
> > ServerAdmin em...@domain.com > ServerName domain.net > ServerAlias www.domain.net > > #SSLProxyEngine On > #ProxyPass /ifolder/ https://192.168.123.4/ifolder/ > #ProxyPassReverse /ifolder/ https://192.168.123.4/ifolder/ > RewriteEngine On > RewriteRule ^/ifolder

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Igor Cicimov
On Wed, Jul 11, 2012 at 1:22 PM, Chris Arnold wrote: > >You may need to change the R to a P: > > >RewriteEngine On > >RewriteCond %{HTTP_HOST} !^update.domain.com$ [NC] > >RewriteRule ^/$ http://private.ip.address/ [P,L] > > This sends all http traffic to the private ip server > > >This turns the

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Chris Arnold
>You may need to change the R to a P: >RewriteEngine On >RewriteCond %{HTTP_HOST} !^update.domain.com$ [NC] >RewriteRule ^/$ http://private.ip.address/ [P,L] This sends all http traffic to the private ip server >This turns the rule into a proxy to that private IP, assuming that is >what you are

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Daniel Ruggeri
On 7/10/2012 9:32 PM, Chris Arnold wrote: > RewriteEngine On > > RewriteCond %{HTTP_HOST} !^update.domain.com$ [NC] > > RewriteRule ^/$ http://private.ip.address [R,L] You may need to change the R to a P: RewriteEngine On RewriteCond %{HTTP_HOST} !^update.domain.com$ [NC] RewriteRule ^/$ http://p

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Chris Arnold
ing: > RewriteEngine On > RewriteCond %{HTTP_HOST} !^update.domain.com$ [NC] > RewriteRule ^/$ http://private.ip.address [R,L] > > > - Original Message - > From: "Chris Arnold" > To: users@httpd.apache.org > Sent: Tuesday, July 10, 2012 9:37:30 PM > S

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Chris Arnold
y, July 10, 2012 9:37:30 PM Subject: Re: [users@httpd] Rewrite Rule Help (again) >You've been already given the answer by Eric what else do you need? Read >mod_rewrite manual and combine RewriteCond and RewriteRule >commands thats all >you need to do. Igor,i have read the rew

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Chris Arnold
>You've been already given the answer by Eric what else do you need? Read >mod_rewrite manual and combine RewriteCond and RewriteRule >commands thats all >you need to do. Igor,i have read the rewrite guide and tried what i thought was needed. Which i have repeated here more than 1 time but thi

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Igor Cicimov
You've been already given the answer by Eric what else do you need? Read mod_rewrite manual and combine RewriteCond and RewriteRule commands thats all you need to do. On Jul 11, 2012 9:12 AM, "Chris Arnold" wrote: > Am I not asking the right question? Have I not given enough information? > Or am

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Perry Smith
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? > > Sent from my iPhone > > On Jul 10, 2012, at 1:27 PM, Chris Arnold wrote: > >> Anybody got any ideas? >> >> Sent from my iPhone >> >>

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Chris Arnold
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 wrote: > Anybody got any ideas? > > Sent from my iPhone > > On Jul 9, 2012, at 7:24 PM, Chris Arnold wrote: > >> On Jul 9, 2012,

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Chris Arnold
Anybody got any ideas? Sent from my iPhone On Jul 9, 2012, at 7:24 PM, Chris Arnold wrote: > On Jul 9, 2012, at 6:28 PM, Daniel Ruggeri wrote: > >> 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

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-09 Thread Chris Arnold
On Jul 9, 2012, at 6:28 PM, Daniel Ruggeri wrote: > 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 i

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-09 Thread Daniel Ruggeri
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

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-09 Thread Chris Arnold
Anybody got any ideas? Sent from my iPhone On Jul 8, 2012, at 9:30 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. > > > > On Jul 7, 2012, at 11:5

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-08 Thread Chris Arnold
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. On Jul 7, 2012, at 11:50 AM, Chris Arnold wrote: > On Jul 7, 2012, at 10:54 AM, Chris Arnold wrote: > That's the same as if

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-07 Thread Chris Arnold
On Jul 7, 2012, at 10:54 AM, Chris Arnold wrote: >>> That's the same as if it ended with a slash, and matched by ^/$ > > Ok my host file has RewriteRule ^/$ http://update.domain.com [L] > When I goto http://update.domain.com using safari, I receive: > Response Error. > > Technical description:

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-07 Thread Chris Arnold
>> That's the same as if it ended with a slash, and matched by ^/$ Ok my host file has RewriteRule ^/$ http://update.domain.com [L] When I goto http://update.domain.com using safari, I receive: Response Error. Technical description: 502 Bad Gateway - Response Error, a bad response was received fr

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-03 Thread Eric Covener
On Tue, Jul 3, 2012 at 5:45 PM, Chris Arnold wrote: >>That's the same as if it ended with a slash, and matched by ^/$ > > So, RewriteRule ^/$ http://192.168.123.2/ will send just > http://updates.domain.com to 192.168.123.2? I don't want all http traffic to > go to that server, just http://updat

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-03 Thread Chris Arnold
>That's the same as if it ended with a slash, and matched by ^/$ So, RewriteRule ^/$ http://192.168.123.2/ will send just http://updates.domain.com to 192.168.123.2? I don't want all http traffic to go to that server, just http://updates.domain.com. -

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-03 Thread Eric Covener
> but am not sure how to rewrite without a folder (ie http://updates.domain.com > to another server with the same address). That's the same as if it ended with a slash, and matched by ^/$ - To unsubscribe, e-mail: users-unsubscr