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

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.
Dockimbel
1-May-2009
[4480x2]
If I code a RSP script I know which methods to expect

 Ok, you know but Cheyenne doesn't know unless you told him. So if 
 you don't filter yourself (as you don't want it to be filtered by 
 Cheyenne), you'll most probably return broken pages to client using 
 HTTP methods you didn't expected.
I gave you a solution above to allow any method for your specific 
needs. It shouldn't take you more than 30s to fix it.
Robert
1-May-2009
[4482]
Ok, I will try. Even I don't fully undertand what to do.
Dockimbel
1-May-2009
[4483x2]
Should be obvious when you see the code. ;-)
Re HTTPS: there's a ticket opened in RAMBO since October 2006 from 
Maarten asking for that : http://www.rebol.net/cgi-bin/rambo.r?id=4170&
. If Carl could fix it for 2.7.7, that would be a great new feature.
Graham
1-May-2009
[4485]
Perhaps it's not easily fixable?
Dockimbel
1-May-2009
[4486]
At least Carl should tell us if it can be fixed within a few hours 
of work or needs several days.
Graham
1-May-2009
[4487]
What did Carl say when he was asked at the French Rebcon?
Dockimbel
1-May-2009
[4488]
IIRC, he said that it was maybe just a flag to set to activate server 
mode, but he had to do some research about it first.
Maarten
1-May-2009
[4489]
You have tp specifiy a certificate store and a server certificate 
as well. I'd LOVE to have this feature
Graham
1-May-2009
[4490]
well a couple of years research hasn't got far.  I wonder who else 
might help Carl enable this?  Is Holger around for a contract job?
BrianH
1-May-2009
[4491]
I'll be sure to bring it up.
Robert
2-May-2009
[4492]
I use Cheyenne as a reverse proxy. I think in this setup the HTTPS 
things is handled by the primary web-server, communication to the 
revers proxy is non encrypted and hence this setup should make it 
possible to use Cheyenne's RSP with HTTPS. Not elegant but it should 
do the job.
Maxim
2-May-2009
[4493]
yess this is how I have set it up before too... in a test I did with 
apache in front... the appache in revers dns also allows two distribute 
load on several machines, so it also allows to easily scale once 
you've got load.
Robert
3-May-2009
[4494x2]
Yep, that's the idea on it.
And at the moment I use VMs to distribute to other machines. So things 
can move around to different hardware.
Robert
4-May-2009
[4496x2]
DELETE: If I change mod-static/method-support I need to run cheyenne 
from source base. Is the SDK build method / script available as well?
Or should I send you a patch to add additional RSP-reachable methods 
via the httpd.cfg file?
Dockimbel
4-May-2009
[4498x2]
To build a binary from Cheyenne source, just do : enpro (or enface) 
cheyenne.r
You can send me the patch by email.
Graham
5-May-2009
[4500x2]
and correct the include paths!
for your local environment.
Robert
5-May-2009
[4502x3]
SSI:Any examples available?
And, is it possible to "call" a RSP file?
call = include
Graham
5-May-2009
[4505]
You can include RSP files .. useful for dynamic headers and footers.
Robert
6-May-2009
[4506]
And bodies ;-)
Graham
6-May-2009
[4507]
Didn't want to make it confusing for you.
Dockimbel
6-May-2009
[4508]
SSI: http://en.wikipedia.org/wiki/Server_Side_Includes
Henrik
6-May-2009
[4509]
Doc, I'm trying Cheyenne (the encapped version) on a Linux server 
with moderate success. Can I use an httpd.cfg that is not stored 
in the same dir as the Cheyenne executable?
BrianH
6-May-2009
[4510]
How much of that do you support?
Dockimbel
6-May-2009
[4511x2]
Cheyenne's mod-ssi currently only supports FILE and VIRTUAL directives 
(that's probably 90% of SSI usage). I've planned to add all the other 
missing directives, but it's quite low priority.
Httpd.cfg : no, it has to be in the same folder.
Henrik
6-May-2009
[4513]
OK, thanks.
Dockimbel
6-May-2009
[4514]
Ah wait, maybe not, I need to check the code.
Henrik
6-May-2009
[4515]
It would be nice to store the exe where it should be and the config 
in /etc.
Dockimbel
6-May-2009
[4516x3]
That's specific to Unix system.
But I already have some specific data folder handling for Windows...so 
why not.
There's a -f %folder/ option for command-line, but it seems to be 
honored only for Windows platforms.
Graham
6-May-2009
[4519]
henrik, won't that be a problem if you run more than one chyenne 
instance?
Dockimbel
6-May-2009
[4520]
Btw, I always found very user-unfriendly  the Unix approach of dispatching 
application related files through the whole filesystem...Pity that 
the GoboLinux philosophy didn't spread over all the others distros.
Henrik
6-May-2009
[4521]
Graham, I'm not sure. Would I want to run more than one? I'm not 
counting the processes that Cheyenne manages.
Janko
6-May-2009
[4522]
will there still be an option to have it in the same folder if you 
change this? maybe as command line arg
Graham
6-May-2009
[4523]
Henrik, you may not want more than one instance running ... but someone 
else might.  so, I think it needs to be as flexible as it can be.
Henrik
6-May-2009
[4524]
Agree.
Robert
6-May-2009
[4525]
Doc, agree too. It's a mess. And a time-killer if you start using 
Linux. Where can I find ABC etc.
Dockimbel
6-May-2009
[4526]
I think to add on Unix, search paths for config file in the following 
order : local folder, $HOME, /etc/ . Would that be enough to cover 
all use cases?
Henrik
6-May-2009
[4527]
fine by me