Looks like I can do this by setting HTTP header "Host".

On Mon, Aug 8, 2011 at 6:09 PM, Mohit Anchlia <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to