cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Requesting an Apache virtual host with CURL
From: John Sherling <sf.techguy_at_gmail.com>
Date: Wed, 13 Dec 2006 20:35:15 -0800
I need to move a website from webserver 1 to webserver 2, and I'm
Let's say I've got an old Apache webserver running on IP 22.214.171.124 -
Additionally, I've got a second, new Apache webserver running on IP
My problem: I want to test the new server, using the proper hostname
So my question is: can I to tell CURL to request the site
Again, for various reaasons, I DONT want to use any kind of DNS tricks
I thought there may be a way to use headers to do it (since that's how
curl -H "http://www.domain.com" 126.96.36.199
but when I try this, curl always does a lookup on the hostname, and
Again, to summarize: I want CURL to request the site
Can anyone help me here?
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info