cURL / Mailing Lists / curl-users / Single Mail


--interface option doesn't work?

From: thor <>
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

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?

Received on 2002-04-19