...@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
>
> 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
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
>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
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
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
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
>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
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
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
>>
>>
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,
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
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
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
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
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
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:
>> 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
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
>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.
-
> 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
21 matches
Mail list logo