cURL / Mailing Lists / curl-users / Single Mail

curl-users

--interface option doesn't work?

From: thor <thor_at_gmx.co.uk>
Date: Fri, 19 Apr 2002 01:17:06 +0200

Trying to use virtual hosts with curl:

Machine's IP is xxx.2.61.66 and has fifteen virtual hosts with "legal" IPs
from eth0:1 to eth0:15. So I try to fetch a page from a web server, like
this:

curl --interface eth0:1 http://some.url

But in apache's logs, there's always "main" machine IP (eth0) logged. Even
tried with --interface SOME_LOCAL_IP ... but nothing.. All virtual hosts are
working normally, otherwise. What's wrong?

thanks
Received on 2002-04-19