World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Terry 27-Oct-2007 [2297] | Forget Ruby on Rails.. this is Rebol on Rockets |
Graham 27-Oct-2007 [2298x3] | Nenad, did some more testing. Encapped Cheyenne/odbc works under XP, and Windows 2003 as vmware. But when I try it on another virtualized windows 2003 ? Xen .. it's not returning the correct data from the odbc connection. Bizarre. |
My encapped version of Cheyenne is here http://compkarori.no-ip.biz:8090/Synapse_Web_Portal_Server In do-sql, it has this ... ][ ;-- RT's drivers insert port data either flat [ out: make block! 8 until [if data: pick port 1 [append out data] data] out ][ attempt [ tmp: copy port rsp-log tmp tmp ] ] ] | |
retyping -- corrupted by Altme. This is the only change I made to do-sql in handlers/rsp.r | |
Terry 28-Oct-2007 [2301x2] | Nenad.. any thoughts on clustering? |
One thing I was considering.. rather than paying for expensive servers, like amazon EC2, to host low usage sites, you could run mulitple copies of Cheyenne that would sync up.. and maybe an S3 bucket for data.. one at home, one at work etc. .. couple these with dynamicDNS so in the event one went down, the other(s) could detect that, and update the DNS to take over. Could do some DNS based load balancing if necessary. If you want to get real crazy.. you could share backup servers amongst agreeable Cheyenne users...probably wouldn't host e-commerce that way, but wikis / publicly available data would be fine. | |
Robert 29-Oct-2007 [2303] | I would like to see RebService integrated into it. Running RS in CGI mode but without the overhead of CGI. So, more like a faked CGI. |
Dockimbel 29-Oct-2007 [2304x2] | You can already run RS in CGI mode (without overhead) with Cheyenne. |
Clustering: yes, a lot of thoughts, but first, I'm focusing on releasing a v1.0. | |
Maarten 29-Oct-2007 [2306] | Will database backed session mgt make it in 1.0? And integrated mysql:// just because it is such a cool driver? |
Dockimbel 29-Oct-2007 [2307x2] | Database backed session: no, need some work on the internal framework to make it easier to implement. |
What's the need for such a feature ? | |
Terry 29-Oct-2007 [2309x2] | Modified the DynDNS.r code to work with Cheyenne.. uses myip.dk to determine ip address rather than crawling the router. |
A Cheyenne users dynamic DNS server would be handy. | |
Maarten 29-Oct-2007 [2311] | Database backed session: linear scalaibility ina load balanced environment. Load balancer doesn't need sticky sessions |
btiffin 30-Oct-2007 [2312] | Terry; I like what you have been saying. You need some supporters. Go Terry Go! REBOL on Rockets sounds good. If you get into conflict with RoR, you might try REBOL Rays. Skip rockets, go for a lightspeed connotation. ;) Again, I like the idea. The entire framework payload; base language, server, funky DB and kitchen sink would fit on a pinhead. R EBOL A TOM C heyenne K itchen-sink. Go Doc Go! |
Terry 30-Oct-2007 [2313] | Yeah, it's tiny everything is < 1mb including the R&D junk. |
Dockimbel 30-Oct-2007 [2314] | Maarten: it just seems to me that a database backend may be overkill to store session data, a Uniserve-powered simple server with an in-memory hashtable would be way more efficient ;-). |
Maarten 3-Nov-2007 [2315] | Where is the latest unofficial patched release of Cheyenne/Uniserve ? I'll see if I understand the code and can help a bit. |
Terry 3-Nov-2007 [2316] | Framewerks stores session data in the DB, cuz what's a webserver without a db? |
Graham 3-Nov-2007 [2317] | here http://softinnov.org/tmp/cheyenne-r0916.zip? |
Terry 3-Nov-2007 [2318] | My Amazon public key as encrypted 'n stored by Framewerks 1>lTBa^bOyǨ%6x~MV Let me know if you can crack it, then I'll give you my private key :p |
Terry 4-Nov-2007 [2319x7] | http://www.cheyennemusic.com/ |
Hey Doc, the following seems to be missing from the latest release... what's the method to switching on PHP now? http://softinnov.org/cheyenne/blog.cgi?view=0011 | |
Also, is there still the limit to 4 or 5 consecutive users?? | |
the 0916 version with PHP is working fine... but copying the .. if-loaded? mod-extapp [ extern-app [ name php-fcgi .... doesn't work? | |
I spoke too soon.. the 0916 version running PHP on windows allows you to read the test.php page once.. then each subsequent refresh comes back with a "No input file specified." error. | |
ok.. .spoke too soon again.. the fix was mentioned earlier path: form to-local-file get-modes req/in/file 'full-path | |
Interesting how PHP builds any SQLite DBs in Cheyenne's www folder by default | |
Terry 5-Nov-2007 [2326] | Doc, your website is currently down. |
Graham 6-Nov-2007 [2327] | working for me |
Oldes 7-Nov-2007 [2328] | I have same problem, but only with virtual-root. For normal php the fix above is working |
Will 8-Nov-2007 [2329] | Everyone using Cheyenne, please go here http://softinnov.org:8000/curecode/ and post your bugs or feature requests |
Terry 9-Nov-2007 [2330] | Hey Nenad, how does the following work? ; extern fastcgi [ ; command "php -b $port" ; pool min 1 max 4 ; server 192.168.0.100 ; port 1234 ; root-dir "/home/dk/fcgi/" ; ] ] |
Chris 2-Dec-2007 [2331] | Quick question in lieu of RTFM - how do I get post data as either string or binary in CGI mode? |
Graham 2-Dec-2007 [2332] | look at the request object |
Chris 2-Dec-2007 [2333] | Global 'request is a view function -- QM has it's own request object... |
Graham 2-Dec-2007 [2334] | <HTML> <HEAD> <TITLE>RSP Test Page</TITLE> </HEAD> <BODY bgcolor="white"> <a href="/">Back</a><br><br> <FONT FACE="Arial" SIZE='-1'> <B>Timestamp: </B><%=now %> <BR><BR> <H4>Request parameters :</H4> <UL> <LI><B>HTTP Method: </B> <%=mold request/method%></LI> <LI><B>HTTP Port: </B> <%=mold request/server-port%></LI> <LI><B>Client IP address: </B> <%=mold request/client-ip%></LI> </UL> <H4>Request headers :</H4> <UL><% foreach [name value] request/headers [ print [<LI><B> name ":"</B> mold value </LI>] ] %></UL> <H4>Request variables :</H4> <UL><% either empty? request/content [ print "<LI>No variable passed</LI>" ][ foreach [name value] request/content [ print [<LI><B> name ":"</B> mold value </LI>] ] ] %></UL> <H4>Session :</H4> <%either session/content [%> <UL> <LI><B>SID: </B> <%=session/id%></LI><% either empty? session/content [ print "<LI>No session variables</LI>" ][ foreach [name value] session/content [ print [<LI><B> name ":"</B> mold value </LI>] ] ] %></UL> <%][%> <UL><LI>No session</LI></UL> <%]%> </FONT> </BODY> </HTML> |
Dockimbel 5-Dec-2007 [2335x4] | Chris: use 'input word to retrieve POST data. |
Graham: the API in CGI differs from the RSP API. When Cheyenne's CGI handler is invoked, it tries to mimic the way classic CGI scripts are handled by REBOL. | |
The current Cheyenne version redefines 'read-io in the CGI handler. This wasn't a good thing, so the next release will add, instead, a new function 'cgi-read-io that have to be used as replacement to 'read-io. | |
Terry: for defining a FastCGI app in Cheyenne, take a look here (PHP example) : http://softinnov.org/cheyenne/blog.cgi?view=0011 | |
Dockimbel 15-Dec-2007 [2339] | I'll release a new Cheyenne version next week, probably on Monday. It will be v0.9.17, not yet rc1, still a lot of details to add or polish for a v1. I'd like also to finish a working version of the control panel for the rc1. |
Pavel 16-Dec-2007 [2340] | softinnov server went offline? |
Graham 16-Dec-2007 [2341] | seems down ... |
Dockimbel 17-Dec-2007 [2342x2] | Softinnov.org is down for maintenance (disk crashed), it should be back online tonight. |
Anyway, I'm still doing some testing/bugfixing for the new release, it should be ready a few hours after the server will be back. | |
Graham 17-Dec-2007 [2344] | Good to know it wasn't Cheyenne that crashed :) |
Pekr 17-Dec-2007 [2345] | Graham - Cheyenne is not good enough, if it can't repair HD itself :-)) |
Dockimbel 18-Dec-2007 [2346] | That's a planned feature for Cheyenne v2 ;-) |
older newer | first last |