[Home] [By Thread] [By Date] [Recent Entries]

  • To: "XML Developers List" <xml-dev@l...>
  • Subject: Fw: should redirect
  • From: "Diana Castillo" <diana@h...>
  • Date: Fri, 25 Nov 2005 19:21:45 +0100

Title: RE: Gta Connection
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: 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?
 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>302 Found</TITLE>
</HEAD><BODY>
<H1>Found</H1>
<P>The document has moved <A HREF="http://interface.gta-travel.com/gtaapi/RedirectedRequestListenerServlet?TOKEN=REF_66-4402526-349286030166796">here</A>.</P>
<P>Additionally, error 302 Found
 was encountered while attempting to use ErrorDocument to handle the request.
</body></html>

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member