[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">&nbsp;&lt;!DOCTYPE&nbsp;HTML&nbsp;PUBLIC&nbsp;"-//IETF//DTD \
&nbsp;HTML&nbsp;2.0//EN"&gt;<BR>&lt;HTML&gt;&lt;HEAD&gt;<BR>&lt;TITLE&gt;302&nbsp;Foun \
d&lt;/TITLE&gt;<BR>&lt;/HEAD&gt;&lt;BODY&gt;<BR>&lt;H1&gt;Found&lt;/H1&gt;<BR>&lt;P&gt;The&nbsp;document&nbsp;has&nbsp;moved&nbsp;&lt;A&nbsp;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"&gt;here&lt;/A&gt \
;.&lt;/P</A>&gt;<BR>&lt;P&gt;Additionally,&nbsp;error&nbsp;302&nbsp;Found<BR>&nbsp;was \
&nbsp;encountered&nbsp;while&nbsp;attempting&nbsp;to&nbsp;use&nbsp;ErrorDocument&nbsp; \
to&nbsp;handle&nbsp;the&nbsp;request.<BR>&lt;/body&gt;&lt;/html&gt;</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