cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Redirect option

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 25 Jan 2006 13:19:34 -0800

On Wed, Jan 25, 2006 at 04:46:01PM -0400, Nicolas Escobar Jariton wrote:
> Hello everybody. I´m having problems with redirection because of the
> relative URL..
> For example, when I go to a web with frames it searches "header.html"
> and my server tries to lookup that file
> ("http://localhost/header.html")
>
> Is there a way to add the URL of the web I am entering, so instead of
> looking up in my localhost it looks up in the remote host?

libcurl doesn't handle frames. Whatever program you are using to parse
frames and extract URLs has to turn them into absolute URLs on its own.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-01-25