World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Maxim 8-Jun-2007 [1377x2] | thanks. is the MOD system flexible enough to allow the server to be something else than a "WEB" server... more precisely, a web service, I already have all the XML and schema validation libs to make it... its just that my current server is blocking and when I relay commands to othe servers, it causes timeouts on new commands. |
oops on new *connections* | |
Will 8-Jun-2007 [1379] | if you don't need the http service than you propably need only uni-engine.r and build your own service/protocol otherwise mods can override every phase of the httpd .. better wait for DocK.. |
Maxim 8-Jun-2007 [1380x3] | ok the "every phase of httpd" is just wanted to hear :-) |
web services usually use http, but don't serve out cgi nor web "pages"... so the return values are always processed. | |
has anyone succcessfully used OpenSSL, or is it still a "just use OpenSSL" suggestion... | |
Will 8-Jun-2007 [1383] | look at phase return codes in the doc, and search in this group for phase order execution |
Terry 8-Jun-2007 [1384x3] | If by sucessful you mean Open |
SSL... working along side of Cheyenne.. then yeah.. and sTunnel as well. | |
If you mean tying the OpenSSL libs directly via view/pro, then no. | |
Dockimbel 8-Jun-2007 [1387x2] | Graham: there's some experimental stuff about that in mod-internal, but still needs some improvement to be ready to encap a complete web site in the Cheyenne binary. But that's a planned feature, I'll provide better support for that in a week or 2. |
Maxim, I'll provide this weekend a new module for easy Cheyenne embedding in third-party REBOL application. It should give you all the hooks you need to interface with your code and build your specialized server. | |
Graham 8-Jun-2007 [1389] | Cool. Thanks. |
Maxim 8-Jun-2007 [1390] | ok, will wait for that then :-) |
Maarten 9-Jun-2007 [1391] | Doc, how are the docs coming along? |
Will 9-Jun-2007 [1392] | in the meantime me I help? |
Graham 9-Jun-2007 [1393] | may I help ? |
Will 9-Jun-2007 [1394] | ;-) |
Terry 9-Jun-2007 [1395] | May I help? <- note there's a capital M and no space before the question mark. |
Will 9-Jun-2007 [1396] | ok hopefully the qtask module grammar tha will make us "write like an 8th grader" will come soon! not really looking forward for the lie detector thought! ;-) |
Graham 9-Jun-2007 [1397x4] | I'm thinking this is not a good error to get .. Script: "Untitled" (none) ## Error in [task-handler] : Make object! [ code: 316 type: 'script id: 'no-memory arg1: none arg2: none arg3: none near: [insert tail series :value] where: 'append ] ! / |
I think it happened when I left the trailing %> off a rsp page. | |
How about including a global url-encode function ? | |
Or, where is the appropriate place to define globals like this? | |
Dockimbel 9-Jun-2007 [1401x2] | Url-encode is already defined and available in RSP scripts ;-) |
I've just fixed the error you've reported. | |
Graham 9-Jun-2007 [1403x11] | I've got a new problem |
could be mea culpa | |
but login as guest / 1234 | |
https://www.compkarori.co.nz/ | |
Click on results | |
click on "O2 Sat" at the bottom there | |
Now the url looks okay at the top, but the request url is wrong | |
in the rsp debug | |
good to know about url-encode :) | |
also the values in the request content show up with double quotes | |
eg. {"value"} | |
Dockimbel 9-Jun-2007 [1414x3] | in parameters value = |
=> known bug | |
will be fixed in next release (should be tonight) | |
Graham 9-Jun-2007 [1417] | Ok, thanks |
Dockimbel 9-Jun-2007 [1418] | double quotes, that's normal they are present in the URL : https://www.compkarori.co.nz/testapp/filteredhl7.rsp?rtype="O2Sat" |
Graham 9-Jun-2007 [1419x2] | Is the bug database online Yet ? |
Ok. About the double quotes | |
Dockimbel 9-Jun-2007 [1421x3] | unfortunately, not yet, I'll try to put it online after the next Cheyenne release (so, it could be online tomorrow). |
Quick patch for url-encoded value bug: 1: in %HTTPd.r find the 'parse-request-line function 2: change the following line : parse/all dehex ctx/status-line: copy line [ to parse/all ctx/status-line: copy line [ 3: change the following line : ctx/url: path: trim url to ctx/url: path: dehex trim url | |
Marteen: about docs, the RSP API document will be published tonight with the new release. The module API is still incomplete and the general Cheyenne main doc is still pending (scheduled to be released for 13/06). | |
Maarten 9-Jun-2007 [1424] | Sounds good! |
amacleod 9-Jun-2007 [1425] | I'm having trouble getting Cheyenne to display web page with an absolute path. It works when Root-dir is set to %/www/ but when I set it to the absolute path ...say %"C:/Rebserver/Cheyenne/www/" I can not get hte default page but I do get my test.php script to work. |
MikeL 9-Jun-2007 [1426] | It works for me but you might want to try using the rebol format on the directory name %/c/rebserver/cheyenne/www/ |
older newer | first last |