httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Rewrite Rule Help (again)
Date Tue, 03 Jul 2012 23:48:17 GMT
On Tue, Jul 3, 2012 at 5:45 PM, Chris Arnold
<carnold@electrichendrix.com> 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://updates.domain.com.
>

Check %{HTTP_HOST} with a rewritecond or put it in a context (non
default name-based vhost) that only matches the desired hostname.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message