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
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
Endo
7-May-2009
[4528x3]
I just tried to run cheyenne as a service on my WinXP Pro, it generates 
crash log and says "cannot-open service.dll"
I used a file monitor and found the reason, it tries to load mcvcrt7.dll 
(visual c 7 runtime dll)  can't find it and gives error with "can't 
open service.dll"
my os is xp pro sp3 so I suprised why mcvcrt7.dll is not there. anyway, 
if somone has the same problem just copy the dll to your system32 
folder.
Dockimbel
7-May-2009
[4531]
Endo, thanks for your report. I'll check if mcvcrt7.dll is part of 
standard Windows installation. If not, I may switch to a statically 
compiled DLL.
Janko
8-May-2009
[4532]
From Linux channel .. I will first have to make my webapp compatible 
with the latest version on local computer
Maxim
8-May-2009
[4533x2]
doc, what is the easiest  way to trap connections and take decisions 
based on the current context of the server?
this is a real use case, not just a question in the air... I have 
to help a client with a problem they have.  not a cheyenne bug, but 
the way its being used by their clients.
Dockimbel
8-May-2009
[4535]
I'm not sure what you mean precisely by "to trap connections" and 
also "current context of the server"? Are you talking about hacking 
  the HTTP layer in Cheyenne?
Maxim
8-May-2009
[4536]
I need to be able to verify a connection from a client right when 
it happens.  so that I can refuse it based on some conditions and 
do some other client-internal stuff.
Graham
8-May-2009
[4537]
Like IP address?
Maxim
8-May-2009
[4538]
no, based on the current state of connections on the server.  quantity 
of connections for example.
Graham
8-May-2009
[4539]
http is stateles .. so what are you going to measure?
Dockimbel
8-May-2009
[4540]
Max, that would require writing a specific module for Cheyenne. Connections 
number can be measured by doing a : length? system/ports/wait-list 
(and subtracting worker processes local connections).
Maxim
8-May-2009
[4541]
how many connections are actively being served , time since they 
connected (to enable better timeout handling), etc.