Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Circular forwarding?

 [1/4] from: chalz:earthlink at: 15-Apr-2002 22:08


Yo all. I get a funny thing here. First, backstory: I've registered both chalz.net and chalz.com, but both point to the same site. I use chalz.net primarily, and my host provider has set it up as such. When I execute the whois script from the IE address bar, it works OK. But when trying it from REBOL, it bonks out.
>> print read http://www.chalz.com/cgi-bin/whois?chalz.net
connecting to: www.chalz.com connecting to: www.chalz.net ** User Error: Error. Target url: http://www.chalz.net/cgi-bin/whois?chalz.net could not be retrieved. Circular forwarding detected ** Near: print read http://www.chalz.com/cgi-bin/whois?chalz.net What does "circular forwarding detected" mean? And how come I can get a proper result using a web browser, but not REBOL? Thanks all. --Charles

 [2/4] from: gscottjones::mchsi::com at: 16-Apr-2002 8:40


Hi, Charles, From: "Charles"
> Yo all. I get a funny thing here. First, backstory: > I've registered both chalz.net and chalz.com, but both point to the
same
> site. I use chalz.net primarily, and my host provider has set it up as
such.
> When I execute the whois script from the IE address bar, it works OK. But
when
> trying it from REBOL, it bonks out. > >> print read http://www.chalz.com/cgi-bin/whois?chalz.net > connecting to: www.chalz.com > connecting to: www.chalz.net > ** User Error: Error. Target url:
http://www.chalz.net/cgi-bin/whois?chalz.net
> could not be retrieved. Circular forwarding detected > ** Near: print read http://www.chalz.com/cgi-bin/whois?chalz.net > > What does "circular forwarding detected" mean? And how come I can get
a
> proper result using a web browser, but not REBOL? Thanks all.
I don't know precisely what "circular forwarding detected" means either. REBOL can be thrown by certain redirects, but gets better with each release. Interestingly, the command works fine in REBOL/View 1.2.1, but only balks on REBOL/Core 2.5 on my Win 98SE. My guess is that /Core 2.6 will fix the problem. To be sure, I would **quickly** place a bug report. Meanwhile, a peak at the source of the HTTP schemes of each version will likely reveal the problem. I would do it, but I'm out of time this morning. Best of luck. --Scott Jones

 [3/4] from: anton:lexicon at: 17-Apr-2002 2:22


To get more information for feedback you should try it again after doing: trace/net on Anton.

 [4/4] from: chalz:earthlink at: 17-Apr-2002 1:28


Simply for the record (I'm not expecting anyone to read this and go, "Oh! There it is!") here's the result of using trace/net on. Thanks all!
>> trace/net on >> print read http://www.chalz.com/cgi-bin/whois?chalz.net
URL Parse: none none www.chalz.com none cgi-bin/ whois?chalz.net Net-log: ["Opening tcp for" HTTP] connecting to: www.chalz.com Net-log: {GET /cgi-bin/whois?chalz.net HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.chalz.com } Net-log: "HTTP/1.1 302 Found" URL Parse: none none www.chalz.net none cgi-bin/ whois?chalz.net Net-log: ["Opening tcp for" HTTP] connecting to: www.chalz.net Net-log: {GET /cgi-bin/whois?chalz.net HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.chalz.com } Net-log: "HTTP/1.1 302 Found" URL Parse: none none www.chalz.net none cgi-bin/ whois?chalz.net ** User Error: Error. Target url: http://www.chalz.net/cgi-bin/whois?chalz.n et could not be retrieved. Circular forwarding detected ** Near: print read http://www.chalz.com/cgi-bin/whois?chalz.net