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

Graham
27-Feb-2007
[347]
noob question .. think i've asked it before .. where should one startup 
uniserve on a linux system?  (suse10) ?
Dockimbel
27-Feb-2007
[348]
I'm not sure to understand your question Graham. Do you mean how 
to start Uniserve automatically at boot time on Linux ?
Graham
27-Feb-2007
[349]
yes.
btiffin
27-Feb-2007
[350]
Graham; check out http://www.luv.asn.au/overheads/linux-startup.html
for some hints
Graham
27-Feb-2007
[351]
Just wondering if Apache can be run as a service from YaST, what 
would it take to run Cheyenne like that?
Terry
28-Feb-2007
[352x2]
GO DOC GO! 

(cheerleading helps ;)
Any more thoughts on PHP support?
btiffin
3-Mar-2007
[354]
Is there a Powered by Cheyenne logo?
Graham
2-Apr-2007
[355]
Doc, please change the error message to "Error Trapped" instead of 
"Catched Error"
Anton
3-Apr-2007
[356]
(probably Doc is referring to his use of CATCH when handling the 
error.)
Terry
9-Apr-2007
[357]
Looks like cheyenne went back to sleep :)
Dockimbel
10-Apr-2007
[358x3]
Terry: I'm about to release a new version of Cheyenne with a redesigned 
and more reliable RSP engine. I've also started documenting the RSP 
API and features (takes much more time than I expected).
Graham: Thanks for the reminder, I forgot to correct that in the 
previous release. Now it's fixed ;-).
Powered by

 logo: they're is no one currently. I'll enhance the design of the 
 current logo and I'll add a "powered by" logo too (thanks for the 
 suggestion).
Graham
10-Apr-2007
[361x3]
Thanks.
Great to hear that progress is still occuring :)
I'm using Cheyenne with RebelBB.cgi at present and it is working 
well.
Dockimbel
10-Apr-2007
[364x2]
PHP support: Well, I hope there will be good news soon about PHP 
interface with Cheyenne as soon as I found a way to properly compile 
the latest PHP sources for Windows (compiling under *nix is ok). 
It seems that the latest PHP is able to fork itself automatically 
under heavy load in FastCGI mode. If this feature works well, I'll 
officially include the PHP interface in the next release.
Hi Graham, is your forum online ?
Graham
10-Apr-2007
[366x4]
yes ...
but the data is being sent as compressed rebol blocks :)
http://www.compkarori.co.nz:9000/cgi-bin/rebelBB.cgi
ie. it uses a Rebol async client
Dockimbel
10-Apr-2007
[370]
Are you using a REBOL/Services layer for that ?
Graham
10-Apr-2007
[371x3]
no.
Just a rebgui client ..
hadn't thought of using async for the cgi ...
Graham
13-Apr-2007
[374]
Is Cheyenne's http log standard?
Does it come with any Vid tools for analysis?
Dockimbel
13-Apr-2007
[375]
Yes it's standard. No analyzing tools, did anyone wrote such tool 
in REBOL ?
Maxim
13-Apr-2007
[376]
VID?  what's that  ;-)
Dockimbel
13-Apr-2007
[377]
I'd like to something like Webalizer (http://www.mrunix.net/webalizer/) 
done in REBOL.
btiffin
13-Apr-2007
[378]
I'm thinkin' ez-plot/q-plot might be a nice place to start for that 
app.  Hmmm.
Graham
13-Apr-2007
[379]
I wrote a core based analysis tool some years ago .. dunno where 
it is now!
btiffin
13-Apr-2007
[380]
Great minds think...fire and forget...alike  :)
Chris
23-Apr-2007
[381]
How would you do the following in Cheyenne?

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+) /cgi-bin/qm.r [QSA,L]


Also, is there an equivalent to -- get-env "REQUEST_URI" -- in Cheyenne?
Pekr
23-Apr-2007
[382x2]
Can you translate what does it do? My primitive rsp system just needs 
.httaccess modification, setting rebol handler for .html being processed 
by rsp.cgi ...... so all files have to be "in place".
What is advantage of your aproach? (Just asking, as I dunno what 
mod rewrite is good for)
Chris
23-Apr-2007
[384]
This rewrite rule takes any request (third line) for a file that 
doesn't exist (second line) and redirects to my cgi script.
Pekr
23-Apr-2007
[385]
hah, nice - so, the thing is, that I can have URI, while file does 
not be located at that place? Kind of "virtual file"? :-)
Chris
23-Apr-2007
[386]
The advantage of this is that my cgi script can make decisions based 
on the full request, not just the query string.
Pekr
23-Apr-2007
[387]
what do you mean by "the full request"?
Chris
23-Apr-2007
[388]
For example, from this url: http://foo.com/pages/edit/1-- I get 
the Request_Uri value "/pages/edit/1" then parse it -- ["pages" "edit" 
"1"] -- here I have a controller, and action and an id.  It is a 
more enduring approach than http://foo.com/cgi-bin/qm.r?controller=pages&action=edit&id=1
Pekr
23-Apr-2007
[389]
why do you regard it being a difference?
Chris
23-Apr-2007
[390]
This is veering OT, so I'll point you here:
http://www.w3.org/Provider/Style/URI
http://www.alistapart.com/articles/succeed/
http://www.alistapart.com/articles/urls/

We can discuss further in 'Web'
Dockimbel
23-Apr-2007
[391x4]
RE: get-env "REQUEST_URI" : using the CGI or the RSP handler ?
The Rewriting engine for Cheyenne has not been implemented yet. I 
know that Will developed a simple one for Cheyenne/RSP based on PARSE 
rules.
Re: REQUEST_URI, in CGI mode => all request parameters are in  system/options/cgi
Re: REQUEST_URI, in RSP mode => all request parameters are in  request/in 
(deprecated in the upcoming version)
Chris
23-Apr-2007
[395]
Looking for it in the CGI handler.  Request_URI isn't in the system/options/cgi 
block -- even using Apache, I have to do get-env "REQUEST_URI"
Dockimbel
23-Apr-2007
[396]
You should be able to obtain an equivalent to REQUEST_URI by join 
several values from system/options/cgi.