hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Anchlia <mohitanch...@gmail.com>
Subject Re: Local DNS resolution
Date Tue, 09 Aug 2011 17:20:21 GMT
Looks like I can do this by setting HTTP header "Host".

On Mon, Aug 8, 2011 at 6:09 PM, Mohit Anchlia <mohitanchlia@gmail.com> wrote:
> Is there a way to say in the application without having to use
> /etc/hosts or DNS server that resolve abc.com to 1.2.3.4 inside of the
> java code?
>
> This may not even be possible but I thought I will ask. I am working
> on a application where I don't want to change the URL but need to
> resolve it to a different IP so that I can POST to that IP but keep
> the REQUEST_URL same to pass OAuth
>
>
> URL rewrite for some reason is not working.
>

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


Mime
View raw message