World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Dockimbel 30-May-2007 [708] | Do you mean tunneling Rebservices through HTTP ? |
MikeL 31-May-2007 [709] | Doc, When the Cheyenne version is released will it be announced here http://softinnov.org/cheyenne/blog.cgi? |
Dockimbel 31-May-2007 [710] | Sure |
Robert 1-Jun-2007 [711] | Doc, at the moment the best approach is to use RebServices via CGI (so that it can be used from behind firewalls & proxies). But CGI spawns a new process each time and RebServices isn't FastCGI aware at the moment. Hence my idea, if we can tweak a bit and keep RebService running on the server but still use the CGI interface to access it. As Cheyenne is all Rebol code I thought it should be simple to integrate RebService either into Cheyenne or include a nice interface. |
Terry 1-Jun-2007 [712x2] | Ok.. Doc.. trying to make a mod called my-mod In the mod folder i create a file .. my-mod.r that has this code. rebol [] install-HTTPd-extension [ name: 'my-mod order: [ url-translate first ] url-translate: func [svc req conf][ probe svc/client/remote-ip print "test" ] ] I added my-mod.r to the %mods/ [ .... block in cheyenne.r Doesn't fire? |
Took out the print statement, added to the mod-rsp.r module, ... in that module i added url-translate first.. and works fine. Is it not seeing my module? | |
Will 1-Jun-2007 [714x5] | Terry you need to put a none after print "test" |
or a logic | |
the function need to return a value | |
if you need one more example, here the mod-rewrite: | |
http://reboot.ch/mod-rewrite.r | |
Terry 1-Jun-2007 [719x6] | ok.. made some changes... renamed the module: mod-my-mod.r .. added this to the http.conf file |
Working fine now. (and the none after print "test" allows the print statement to work as well) | |
that was rather painless. | |
and well organized. | |
So I removed the module from cheyenne.r and it works.. I gather that's just for encapping? | |
Cheyenne is very extensible... shoud be easy to build http based file uploaders, advanced logging... db connections, advanced file mapping, authentication, mod-rewrites without the regexp.. tons of stuff. | |
Dockimbel 1-Jun-2007 [725] | Terry, I'll provide some better docs about modules creation and a step-by-step example on how to build simple module. |
DideC 1-Jun-2007 [726] | Why not runniong the RSP bugtracker of Cheyenne to track the bug... of cheyenne ? Like this, it's a live and usefull Demo ! |
Will 1-Jun-2007 [727] | Dock said he will use it on softinnov and also release the source as a complete rsp example, probaly not yet ready for "beta" 8-) |
TomBon 1-Jun-2007 [728] | robert, yes to integrate rebservices as a 'cgi access module' (bridge) which provides e.g. a persistent connection to sqlite or rebdb etc. would be nice. could be also used as a starting point for a nice webbased admin-concept for sqlite. |
Gabriele 1-Jun-2007 [729] | robert, did you try services with fastcgi in cgi emulation mode? any problems with it? |
Robert 1-Jun-2007 [730] | No, I did not, because I thought it requires special handling in the CGI prog. |
Gabriele 1-Jun-2007 [731] | in cgi compatibilty mode, the only problem you can have is if the cgi script is not reentrant, but services should be. |
Terry 1-Jun-2007 [732] | Something in Cheyenne preventing the -s security switch in WinXP ? I get the "encap-fs.r requests permission to open port" security message. |
Maarten 1-Jun-2007 [733] | Is there a release somewhere that I'm missing and evrybody else *did* find? |
Dockimbel 1-Jun-2007 [734] | Didec: I need to finish to CSS code to put the bugtracker online, it will take me a few hours of works, so I put it online this weekend. |
Terry 1-Jun-2007 [735] | Is Dockimbel short for "Documentkimbel"? |
Dockimbel 1-Jun-2007 [736x2] | Terry: I run it on XP with the following command-line : rebol -s cheyenne.r, no security requestors here. |
nope, doc is for doctor ;-) | |
Maarten 1-Jun-2007 [738] | Doc, what is the new ETA for the beta? |
Dockimbel 1-Jun-2007 [739x3] | one hour |
btw, the current RSP bugtracker code name is : CureCode ;-)) | |
I have a new beta with several fixes ready to release. I'll post the link here and update the website tomorrow. | |
Maarten 1-Jun-2007 [742] | I'll wait for tomorrow anyway, I guess I'll need the docs. Really looking forward to it though |
Maxim 1-Jun-2007 [743] | have you curred the port closing bug in R2? |
Maarten 1-Jun-2007 [744x2] | With RSP, session support, CGI and mysql:// this is a rebol web app framework that most languages can only dream of (productivity wise). |
Just having an idea: perhaps adding RebXML support in RSP or so? | |
Maxim 1-Jun-2007 [746] | IF one likes to say the web is productive to start with ;-) |
Gabriele 1-Jun-2007 [747] | doc, make sure you set aside some time this weekend. you know, for things. ;) |
Maxim 1-Jun-2007 [748] | hahahaha |
Dockimbel 1-Jun-2007 [749x2] | Maxim : all problems regarding port closing (like remaining "zombie" connections are solved). |
Gab: it's christmas already ? ;-) | |
Gabriele 1-Jun-2007 [751] | very close. :P |
Graham 1-Jun-2007 [752] | Is it working with Chris' QM ? |
Dockimbel 1-Jun-2007 [753] | I didn't had time to follow the discussion about that in the QM channel, so I don't know... |
amacleod 1-Jun-2007 [754x2] | Has anyone tested php on windows. And do I need to uncomment : ; bind fastcgi to [.php .php3 .php4] and :; extern fastcgi [ ; command "php -b $port" ; pool min 1 max 4 ; server 192.168.0.100 ; port 1234 ; root-dir "/home/dk/fcgi/" ; ] |
to get it up and running? | |
Dockimbel 1-Jun-2007 [756x2] | nope, that parameters are not yet working. |
please give me a few minutes to let me post the latest Cheyenne beta sources and I'll write a post about how-to make PHP work. | |
older newer | first last |