I dont understand where to put this
parameter
http://curl.haxx.se/docs/manpage.html
-L/--location
(HTTP/HTTPS) If the server
reports that the requested page has a different location (indicated with the
header line Location:) this flag will let curl attempt to reattempt the get
on the new place. If used together with -i/--include or -I/--head, headers
from all requested pages will be shown. If authentication is used, curl will
only send its credentials to the initial host, so if a redirect takes curl to
a different host, it won't intercept the user+password. See also
--location-trusted on how to change this.
If this option is used twice,
the second will again disable location following.
----- Original Message -----
Sent: Friday, November 25, 2005 6:48 PM
Subject: [xml-dev] should redirect
I am getting this html page as a result of some xml
requests, do I have to change some settings on my server to get automatically
redirected instead of getting this?
|