cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Re: Requesting an Apache virtual host with CURL

From: John Sherling <sf.techguy_at_gmail.com>
Date: Wed, 13 Dec 2006 23:18:59 -0800

On 12/13/06, Dan Fandrich <dan_at_coneharvesters.com> wrote:

> There are a couple of ways you can do this. You can add an entry in
> /etc/hosts (or equivalent) with the new address and curl will use that
> to connect to the host. Or, you can use the -H trick you were so close to
> getting working. -H takes a whole HTTP header, so you need to do
> -H 'Host: www.domain.com' to set the virtual host.

Thanks Dan! That worked.
Received on 2006-12-14

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET