r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Web] Everything web development related

Geomol
30-Mar-2005
[599x2]
Graham: I've done Ethereal monitoring with our test proxy, and after 
the "HTTP/1.0 200 Connection established" reply from the proxy, there's 
a line from my computer (running REBOL) to the proxy with the text 
"Continuation or non-HTTP traffic". After that, the proxy reply with 
a [FIN, ACK]. If that "continuation" holds the information from my 
REBOL application to go to the server in the other end, it may be 
a proxy problem!?
I notice a bug in the CONNECT request from REBOL to the proxy. Ethereal 
reports:

[Dissector bug, protocol HTTP: "Request Version" - "http.request.version" 
invalid length: -32 (proto.c:2104)]
!?
Flemming
30-Mar-2005
[601]
I'm having some problems with the rebol example webserv.r   I've 
installed it on a computer at home and a computer here at work. It 
works fine at home, but here there appears to be problems with the 
path of the script. The log file is places several places (where 
the webserv.r script is located and severel places inside the www 
path), and there are problems accessing rebol scripts inside :[  
]: - apparently also because of problems with the path. Very wierd 
behaviour. Any help appriciated.
Geomol
30-Mar-2005
[602]
I've solved the problem with HTTPS thru a proxy. The problem is, 
that the commands to the proxy is sent with only a newline in the 
end of each line. If I replace the newlines with carriage-return 
newline ("^M^/"), it works. Within the SDK, the problem is in the 
file "source/prot-http.r".
Anton
30-Mar-2005
[603x3]
Geomol, that sounds excellent. Does it still work at home ?
Sorry Geomol, I've mixed your post with Flemming's. Must be time 
to go to sleep :)
Flemming, are you using the same version of rebol and are they on 
the same platform at home as at work ?
Romano
30-Mar-2005
[606]
Geomol, that is a known bug in ssl, see RAMBO #3532, it is interesting 
to know that it affects HTTPS with proxy
Graham
30-Mar-2005
[607x4]
Geomol, can you post the corrected version of prot-http.r somewhere?
Perhaps on the REP site ?
Or, Rebol.org ...
Off topic here, but what do you have to do to create an external 
link on  a web page so that a new browser instance loads. Do you 
need some javascript on the page?
Brock
30-Mar-2005
[611]
just add target="_blank" in the <a> tag
Graham
30-Mar-2005
[612]
<a href=http://www.rebol.comtarget=_blank>Rebol</a>  ?
Brock
30-Mar-2005
[613]
correct
Graham
30-Mar-2005
[614]
Great!
Brock
30-Mar-2005
[615x2]
once second - the quotes aren't there.
targe="_blank"
Graham
30-Mar-2005
[617]
is that the same for the action of a form ?
Brock
30-Mar-2005
[618]
hmmm..
Chris
30-Mar-2005
[619]
Apparently so.
Brock
30-Mar-2005
[620]
it should if the action is redirection to another page using the 
<a> tag.  But I'd need to look it up to be certain.
Graham
30-Mar-2005
[621]
Yes, it works :)
Chris
30-Mar-2005
[622x2]
It does in Opera, at least.
Including 'post' forms.
Graham
30-Mar-2005
[624]
Yes, I just changed my header analysis lookup form to use this ...
Geomol
31-Mar-2005
[625]
Graham: I'm not sure, if the copyright on prot-http.r prevent me 
from posting it, but I can tell you, what I added to it. My work-around 
consists of 2 extra lines after line 46, which in my version is:

append http-packet "^/"

My extra lines are:

replace/all http-packet "^/" "^M^/"
remove back tail http-packet	; Because a newline will be added.


It's not a nice solution, but it works. A better way would be to 
open the port with a /with refinement and CRLF. See RAMBO #3532.
Graham
31-Mar-2005
[626]
ok. thanks.
Geomol
31-Mar-2005
[627]
You're welcome! :-)
JaimeVargas
1-Apr-2005
[628]
Does anyone know away to automate the checking of a website that 
requires https, authentication and probably cookies. I basically 
want an application to log into my ebank account and extract some 
information.
Luisc
1-Apr-2005
[629]
jaime you probably need to dig into what protocol your ebank uses...the 
most common ones are HBCI and OFX  ( i think =D  )
JaimeVargas
1-Apr-2005
[630]
Thx. I will check this.
Luisc
1-Apr-2005
[631x2]
Jaime: http://www.zend.com/codex.php?id=1036&single=1
that was for OFX/QFX
Graham
1-Apr-2005
[633]
I think Jaime wants to know how to get the data first !
Luisc
1-Apr-2005
[634]
OOps.. Ok  sorry  jaime =(
ScottT
26-Apr-2005
[635x2]
OK.  what's the secret to getting plugin working in IE 6?  I've read 
how IE supposedly doesn't like embed tags, but that isn't true insofar 
as I've been using embed only for SWF files.  Same with SVG.
When I try the samples.  they all fire off the download, etc.  install 
seems to work, except that I always end up with red x, and nothing 
ever runs.  Just wondered whether anyone ever figured out what was 
up with that, or whether there was any momentum at all with rebol 
plug-in.  I'd probably rather have an active-x/progid sort of affair, 
but talk about a can of worms.  I've never done it, but looked into 
it.  seems like it may not be such a big step, though, if there's 
been success with browser plugin.  This is all sort of an aside. 
 I didn't really have anything particular in mind, except as maybe 
an Ajax alternative.
Graham
26-Apr-2005
[637]
There isn't normally a problem with IE6.
ScottT
26-Apr-2005
[638]
you're right.  worked first time today.  I had encountered it again 
through someone else's site, but when I went through rebol.com, it 
worked fine.  very good.
Graham
26-Apr-2005
[639]
it could have been pointing to an old binary
Gregg
26-Apr-2005
[640]
I'm not expecting any new plug-in releases until LNS is out and other 
builds are done. Don't know about momentum, but I'm using it for 
a project and it's pretty darn handy if you ask me.
ScottT
26-Apr-2005
[641x2]
I've been in awe of it since I got it working.  IE has been my primary 
platform for a long time now.  Spent quite a bit of time building 
a working asynchronous http client with IE's xmlhttp, but now am 
wondering why I bothered.  Rebol makes me nervous and excited about 
the implications.
In IE there are cross-domain issues.  Does this plugin adhere to 
these settings?
Volker
26-Apr-2005
[643]
I think not, it does its own networking like rebview.
ScottT
27-Apr-2005
[644]
that is fantastic.  I'm starting to shake a little.  beyond all expectations. 
 talk about power to the people. . .  I'm off to do some crazy prototype. 
 I'll post a link when I get something wild cooking.
Anton
27-Apr-2005
[645]
It's not stable, so you will come across some weird crashing bugs. 
Also, only one instance of rebol plugin per browser is possible.
Henrik
27-Apr-2005
[646]
security features are not enabled either as far as I know, but it 
has great potential, yes
Volker
27-Apr-2005
[647]
try [probe secure query]. you can only access the rebol cache-directory 
IIRC. but net is not restricted.
ScottT
27-Apr-2005
[648]
Net is going to need restricted, I think, and cache probably needs 
some restriction as well.  I wonder if there's been any discussions 
on how to keep rebol from being the target for some very malicious 
code.  I know more about IE's security model and what I can do at 
IE defaults, and would like to code such that I am not relying on 
features that can/should/will be restricted by default.