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

BrianH
30-Apr-2009
[4430]
Is debug-banner page-local or app-local?
Dockimbel
30-Apr-2009
[4431x4]
It's reset at every RSP request.
So, doing as explained would make it page-local.
DELETE: not out of the box. If you want to add support for new HTTP 
methods, you need to build a custom module for Cheyenne that would 
take precedence over mod-static/method-support handler. If you need 
it as RSP level only, you can just edit that handler and add whatever 
method you need. I may add a config option to be able to extend allowed 
methods in a cleaner way.
What OS are you using on EC2?
BrianH
30-Apr-2009
[4435]
I went with a web app for the database connection management and 
authentication, but now I find out I need to support stateless clients. 
So, no persistent cookies. Help?
Graham
30-Apr-2009
[4436]
18th March "No builtin support for basic auth. You need to provide 
your own code. 'on-page-start would be a good place to put that kind 
of filter."
Dockimbel
30-Apr-2009
[4437]
Thanks for digging up that post. :-)
BrianH
30-Apr-2009
[4438]
Darn. I'll figure it out tomorrow then. Any problems with creating 
a throw-away session every five minutes?
Graham
30-Apr-2009
[4439x2]
Just shows I wasn't the only one wanting ( not necessarily needing 
though ) ba.
:)
Dockimbel
30-Apr-2009
[4441x2]
Brian: It shouldn't be a problem. Sessions block is hashed, so session 
access time is constant and the only impact is on memory usage.
Graham: I suspected a hidden message ;-).
Graham
30-Apr-2009
[4443]
Was I so transparent ??
Janko
30-Apr-2009
[4444]
Brian.. are there any special requirements to run cheyenne on EC2 
or is that like any other vps?
Dockimbel
30-Apr-2009
[4445]
Taking the time to read all messages back to 18h March to dig it 
up was most probably driven by another goal than just saving me from 
re-typing it. :-)
Graham
30-Apr-2009
[4446]
ummm.... see the magnifying glass top right?  It's called a search 
tool :)
Janko
30-Apr-2009
[4447]
hm.. I need to figure out one day how those EC2 prices "$0.10 per 
instance hour" translate or compare to some small VPS
Dockimbel
30-Apr-2009
[4448]
Damn, that's the first time I'm noticing that feature in AltMe!
Graham
30-Apr-2009
[4449x2]
much more expensive
If you run your EC2 instance 24/7 ... probably 3x the cost or more
Janko
30-Apr-2009
[4451]
I run 2 cheyenne webites (site-assistant and qwikitodo) and 2 apache 
solr servers and a bunch of rebol bots on 180MB RAM VPS for 12EUR/month.. 
and pages load in a snap (unless I add sqlite update/delete/insert 
to the pageload)
Graham
30-Apr-2009
[4452]
All kidding aside, BA would be useful .. it's also needed for mod-rest.r
Dockimbel
30-Apr-2009
[4453x3]
I agree, I just need to figure out how to best integrate it.
Web-Apps Login: Is the login page always presented as first page 
if a user isn't yet logged in and tried to access an other page directly?


It depends, if you're using the AUTH keyword in the webapp config 
bloc, that's true. If AUTH is not used, you can access every webapp 
resource directly, it's up to each RSP to manage the access rights 
strategy. That's how CureCode webapp works. It uses a  common filter 
script called from 'on-page-start to control access.
BrianH: "I really need basic authentication though, with no cookies 
required. Either that or to be able to specify sessionids as get 
parameters, or maybe post sometimes."


Passing RSP session ID as GET or POST parameter is supported in latest 
release.
BrianH
30-Apr-2009
[4456x2]
The only requirement I specified was that it be x86-compatible Linux. 
Someone else built it. Be sure to back up though, in case the instance 
goes away unannounced.
What is the parameter named?
Dockimbel
30-Apr-2009
[4458]
Same as session cookie : RSPSID
BrianH
30-Apr-2009
[4459]
That may be enough :)
Dockimbel
30-Apr-2009
[4460]
:-) Anyway I'll add BA on my todo list.
Maxim
30-Apr-2009
[4461]
Q does cheyenne support serving  https ?
Graham
30-Apr-2009
[4462x2]
I use Cheyenne behind https.
and stunnel.
Robert
1-May-2009
[4464]
DELETE: Is it hard to add? Adding HEAD too and Cheyenne would be 
a really nice REST application sever.
Maarten
1-May-2009
[4465]
You have no idea .... Robert, we might want to talk one of these 
days. WInk wink.
Robert
1-May-2009
[4466x3]
;-)
I added all comments and information to the RSP Wiki page to save 
it.
HTTP Return Codes: Can I specify the return code myself in the response 
header? Or does CHE add it itself all the time?
Dockimbel
1-May-2009
[4469x2]
Answer is here : http://cheyenne-server.org/docs/rsp-api.html#def-29
DELETE: it depends on what you mean by "add". If it's just allowing 
it to reach a RSP script, it's just a matter of adding it in a block. 
See my previous answer about DELETE. Btw, HEAD is already supported.
Robert
1-May-2009
[4471x2]
Yes, it just needs to go through to the RSP page.
BTW: Why not forward every request method to the RSP page? This would 
make it very flexible.
Dockimbel
1-May-2009
[4473]
Because every web site running Cheyenne doesn't need RSP scripts. 
For example, softinnov.org is only using SSI (Server Side Includes).
Robert
1-May-2009
[4474x2]
Maybe only do it for RSP pages?
BTW: Is there any more information about SSI available? Or is it 
all straight forward?
Dockimbel
1-May-2009
[4476x2]
If every request method were forwarded to RSP scripts, that would 
require that every RSP script provide a HTTP method handler sending 
a 405 return code for unsupported methods (to be HTTP compliant). 
Too much a burden for all RSP scripts.
SSI is supposed to be straight forward. You can have a look at Apache 
SSI online documentation. Cheyenne's SSI is currently just a small 
subset of Apache's SSI.
Robert
1-May-2009
[4478x2]
If I code a RSP script I know which methods to expect. So, the normal 
pages only use POST, GET. As soon as I create a site that uses other 
methods, I need to make XMLHttpRequest form the client. Than I know 
which methods to handle.

I don't see a problem here.
This is really a blocking point for me at the moment.