World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Terry 10-Jun-2007 [1541] | What kind of module are you writing Maarten? |
Dockimbel 10-Jun-2007 [1542x2] | Marteen: you should turn on verbose mode either using -vv (or -vvv) option in command line or setting in %cheyenne.r : services/httpd/verbose: 2 |
it will show you what module answers on each phase. | |
Terry 10-Jun-2007 [1544] | How about the listening ports... can you receive a msg on one port, and respond on the other? |
Dockimbel 10-Jun-2007 [1545] | Terry: sure, but that's no more HTTP protocol ;-) |
Graham 10-Jun-2007 [1546] | ftp ? |
Terry 10-Jun-2007 [1547] | We'll call it HTTPextreme |
Dockimbel 10-Jun-2007 [1548] | lol |
ICarii 10-Jun-2007 [1549] | or HTTPBigBrother |
Graham 10-Jun-2007 [1550] | can we do ftp in uniserve yet? |
Terry 10-Jun-2007 [1551] | Just thinking of relaying to my Flash script embedded into the page. |
Dockimbel 10-Jun-2007 [1552] | FTP server, a service that I wanted to add to UniServe since a long time... |
Graham 10-Jun-2007 [1553] | doable? |
Terry 10-Jun-2007 [1554x3] | Ie: I can read a page from my server, and when some particular IP reads as well, it can push a message to my page. |
that kind of thing | |
So I can get messages like "Graham just tried circumventing your Captcha" messages popping up dynamically on my page ;) | |
Maarten 10-Jun-2007 [1557] | mod-router - a module that routes request based on a sitemap |
Dockimbel 10-Jun-2007 [1558] | Sure, but may need some improvement in UniServe to make services collaboration more flexible. I guess it can be done with the current UniServe and the uniserve/shared context to make the ftp-cmd and ftp-data port collaborate. |
Terry 10-Jun-2007 [1559] | Could do some kind of load balancing as well. |
Oldes 10-Jun-2007 [1560] | I have some simple ftp server code... but not for uniserve.. maybe I could try to rewrite it.. but first I want to improve my proxy server:) |
Terry 10-Jun-2007 [1561] | Maarten, there's some 404 discussions earlier in this group. |
Dockimbel 10-Jun-2007 [1562x2] | mod-router: you mean being able to translate the request URLs for a whole site, based on a sitemap description ? |
that could be useful when refactoring a whole web site that is already deeply indexed by search bots and want to keep it's high ranking... | |
Maarten 10-Jun-2007 [1564x2] | Yep |
Or when you wat to translate: http://site?aap=noot&q=wto http://site/aap/noot/q/w | |
Dockimbel 10-Jun-2007 [1566] | Very cool module, Marteen, I already have a customer where I might use it ! |
Terry 10-Jun-2007 [1567] | that's mod-rewrite |
Dockimbel 10-Jun-2007 [1568] | I'm sure Will would be also very interested. |
Maarten 10-Jun-2007 [1569x2] | I think it should be easy because the trick is to allow a set of parse rules for the translation in a sitemap.cfg for this module. That way you can utilize parse's full expressiveness :-) |
Where is Will's mod-rewrite? | |
Dockimbel 10-Jun-2007 [1571x2] | the link is somewhere here, beyond my 300 msgs threshold |
got it : "global and per domain rewrite rules, http://reboot.ch/mod-rewrite.r or http://reboot.ch/mod-rewrite.r.zipalpha quality, whatch out ;-)" | |
Maarten 10-Jun-2007 [1573] | http://reboot.ch/mod-rewrite.r |
Oldes 10-Jun-2007 [1574] | Doc.. I had older PHP so now I have php-cgi listening, but it returns: "No input file specified". I have full path in the root-dir, is there something else? |
Graham 10-Jun-2007 [1575] | I guess it must be a RSP problem. |
Oldes 10-Jun-2007 [1576] | it's running.. I hade cheyenne root different from root set in php.ini |
Graham 10-Jun-2007 [1577] | it's a simple url-encode and then dehex with characters missing after the dehex |
Dockimbel 10-Jun-2007 [1578] | Not sure what's causing that, if you test locally, it works : http://localhost/show.rsp?street1=123ABC street |
Maarten 10-Jun-2007 [1579x2] | Notice that Doc is making *the* point for rebol. One (very talented) guy creating an Apache-class webserver in 100Kb |
Now, more questions: - how stable is Cheyenne (uptime)? - how secure is Cheyenne (how vulnerable, how has it eben tested..)? - what load can one instance handle? | |
Graham 10-Jun-2007 [1581x2] | <html> <body> <h1> Test of dehex </h1> <% test: "11 22 33" print rejoin [ "Original string: " test <br/> ] test: url-encode test print rejoin [ "Url-encoded: " test <br/>] print rejoin [ "Dehex: " dehex test <br/> ] %> </body> </html> |
produces this ... Original string: 11 22 33 Url-encoded: 11 22 33 Dehex: 22 3 | |
Maarten 10-Jun-2007 [1583] | OS, Rebol version, ... |
Graham 10-Jun-2007 [1584] | win32 |
Maarten 10-Jun-2007 [1585x2] | What does this do in the console with and without Uniserve loaded? And the with Cheyenne loaded? |
*then with... | |
Graham 10-Jun-2007 [1587x4] | >> rebol/version == 2.6.2.3.1 |
dehex works fine in the console | |
let me kill cheyennne now | |
ahh... doesn't work after I kill Cheyenne | |
older newer | first last |