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

World: r3wp

[!Cheyenne] Discussions about the Cheyenne Web Server

btiffin
2-Jun-2007
[958]
Debian is like the C of Linux.  All the good stuff starts with Debian...
Graham
2-Jun-2007
[959x2]
http://www.vmware.com/vmtn/appliances/directory/827
Debian based .. and sessions works for me.
btiffin
2-Jun-2007
[961x2]
Cool.  I'll spend some more time on this tomorrow.  I know that it'll 
be a simple little
thing that I'm not seeing.  :)
But I'm learning quite a bit tracking it down... so s'all good.
Graham
2-Jun-2007
[963]
I'm getting a few crashes using rsp with debug turned off :(
btiffin
2-Jun-2007
[964]
That's not cool sounding...
Graham
2-Jun-2007
[965]
#[object! [ code: 311 type: script id: invalid-path arg1: config 
arg2: #[none] arg3: #[none] near: [request/config: value] where: 
decode-msg ]]
Terry
2-Jun-2007
[966]
I think the whole asp, php, rsp model is done.  Embedding code into 
a standard page will be replaced by dynamically generated pages.
Graham
2-Jun-2007
[967]
only occuring when I include javascript with the include-file directive
Graham
3-Jun-2007
[968x2]
trolling again Terry?
## Error in [task-handler] : Make object! [
    code: 311
    type: 'script
    id: 'invalid-path
    arg1: 'config
    arg2: none
    arg3: none
    near: [request/config: value]
    where: 'decode-msg
] !
Terry
3-Jun-2007
[970x3]
Trolling?  tut tut
Nenad, which modules are required for basic operation?  I'd like 
to build a single module that intercepts every request.
I hope I didn't offend anybody by suggesting something better than 
pre-processing.
btiffin
3-Jun-2007
[973]
Terry;  I'm still a level 1 webmaster...anything beyond .html  is 
rocket science  :)
Terry
3-Jun-2007
[974]
Content, style and logic should be separate.
btiffin
3-Jun-2007
[975]
For me...get the page up.  :)  If .CSS worked as advertised I'd probably 
use it more...
If IE could display transparencies...
If if if...  :)
Terry
3-Jun-2007
[976]
IE does display transparancy
btiffin
3-Jun-2007
[977]
Poorly  :)
Terry
3-Jun-2007
[978]
Nenad, can you give a brief explanation on how module's first, normal, 
and last operate?
Graham
3-Jun-2007
[979x2]
This certainly seems to kill cheyenne

## Error in [task-handler] : Make object! [
    code: 311
    type: 'script
    id: 'invalid-path
    arg1: 'config
    arg2: none
    arg3: none
    near: [request/config: value]
    where: 'decode-msg
] !
all three rebol processes are running but not responding
Gabriele
3-Jun-2007
[981]
brian, did you try using wireshark (or plain old tcpdump) to see 
what the browser and the server are exchanging?
Will
3-Jun-2007
[982x3]
or tcpflow (small download) {sudo tcpflow -c -p -s -i lo0 src port 
80 or dst port 80}
or tcpick {sudo tcpick -i lo0 -C -p -S --separator -bP "port 80"}
tcpflow doesn't do ipv6 thought, I would go wireshark (new name for 
ethereal), it's a good learning tool 8-)
Dockimbel
3-Jun-2007
[985x2]
Graham: you crashed the RSP engine. Have you changed the meaning 
of the REQUEST word! ?
I'll add some protection to vital words (request, response, session, 
...) in the next release.
Graham
3-Jun-2007
[987x4]
Let me check
Not that I know of ...
Could it be some interaction with the javascript libraries?
Which seems unlikely
Dockimbel
3-Jun-2007
[991x2]
unless you LOAD the js code somhow in the REBOL context...
somehow
Graham
3-Jun-2007
[993x2]
I'm only doing 

<% include-file something.js %>
so, it can't be doing that ...
Dockimbel
3-Jun-2007
[995x2]
are you passing a file! type to INCLUDE-FILE ?
does it work ok if you remove this line ?
Graham
3-Jun-2007
[997x3]
It works okay most of the time ... but sometimes when I use the back 
arrow on my browser it crashes
<html>
<head>
<% include-file %button-header.js %>

	<title>Welcome to TestApp web application</title>
</head>
<body>
<img src="logo.png">
<center>
<% include-file %button-form.js %>
<a href="logout.rsp">Logout</a>
</center>
</body>
</html>
that's it
Terry
3-Jun-2007
[1000]
hey Doc.. while you're here...  I want to trap all 404s and process 
them (in other words, there's no such thing as a 404 where I am).. 
how would I do that?
Graham
3-Jun-2007
[1001]
it was crashing on  this page
Terry
3-Jun-2007
[1002]
Another way to put it.. I want to map all urls to a single module
Dockimbel
3-Jun-2007
[1003x2]
Terry: use the 'filter-output phase to catch all 404 (you can implement 
it in mod-static, or in your won module).
won = own
Terry
3-Jun-2007
[1005]
any specs on that phase?
Dockimbel
3-Jun-2007
[1006]
all phases use the same func spec block, this one will be called 
just before the response is sent to the client.
Terry
3-Jun-2007
[1007]
Also I tried a make-response phase in  a module, but it never fired?