[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-dev
Subject: Fw: [xml-dev] should redirect
From: "Diana Castillo" <diana () hotelkey ! com>
Date: 2005-11-25 18:21:45
Message-ID: 0ef101c5f1ed$17e36990$4964a8c0 () DIANACASTILLO
[Download RAW message or body]
RE: Gta ConnectionI 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 -----
From: Diana Castillo
To: XML Developers List
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? \
<!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>
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: Gta Connection</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3><FONT
face=Arial size=2>I dont understand where to put this
parameter</FONT><BR><BR></FONT><A
href="http://curl.haxx.se/docs/manpage.html"><FONT face="Times New Roman"
size=3>http://curl.haxx.se/docs/manpage.html</FONT></A><BR><BR><FONT
face="Times New Roman" size=3>-L/--location<BR><BR>(HTTP/HTTPS) If the server
reports that the requested page has a different<BR>location (indicated with the
header line Location:) this flag will let curl<BR>attempt to reattempt the get
on the new place. If used together with<BR>-i/--include or -I/--head, headers
from all requested pages will be shown. If<BR>authentication is used, curl will
only send its credentials to the initial host,<BR>so if a redirect takes curl to
a different host, it won't intercept the<BR>user+password. See also
--location-trusted on how to change this.<BR><BR>If this option is used twice,
the second will again disable location following.</FONT><BR></FONT></DIV>
<DIV style="FONT: 10pt arial">----- Original Message -----
<DIV style="BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A
title=diana@hotelkey.com href="mailto:diana@hotelkey.com">Diana Castillo</A>
</DIV>
<DIV><B>To:</B> <A title=xml-dev@lists.xml.org
href="mailto:xml-dev@lists.xml.org">XML Developers List</A> </DIV>
<DIV><B>Sent:</B> Friday, November 25, 2005 6:48 PM</DIV>
<DIV><B>Subject:</B> [xml-dev] should redirect</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>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?</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 \
2px solid; MARGIN-RIGHT: 0px"> <DIV
style="FONT: 10pt arial"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD \
HTML 2.0//EN"><BR><HTML><HEAD><BR><TITLE>302 Foun \
d</TITLE><BR></HEAD><BODY><BR><H1>Found</H1><BR><P>The document has moved <A HREF="<A \
href='http://interface.gta-travel.com/gtaapi/RedirectedRequestListenerServlet?TOKEN= \
REF_66-4402526-349286030166796">here</A>.</P'>http://interface.gta-travel.com/gtaapi/R \
edirectedRequestListenerServlet?TOKEN=REF_66-4402526-349286030166796">here</A> \
;.</P</A>><BR><P>Additionally, error 302 Found<BR> was \
encountered while attempting to use ErrorDocument \
to handle the request.<BR></body></html></DIV></BLOCKQUOTE></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic