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

Oldes
2-Aug-2010
[8680x2]
First of all you must add DNS A records to point to your IP adress. 
And then setup your server (Cheyenne, Apache, Nginx..) to resolve 
the full subdomain.domain names.
Don't do forwarding.
Graham
2-Aug-2010
[8682]
thanks .. that what I just discovered too.
Kaj
2-Aug-2010
[8683x2]
I think you want multiple subdomains, one for each user, and you 
can simplify that by defining one catch-all IP number in DNS. Then 
define all the virtual hosts in Cheyenne. You do have to add every 
subdomain to Cheyenne, but this way you don't have to maintain DNS 
for each
Not sure if GoDaddy allows a catch-all, though, if it has a limit 
of 99
Will
2-Aug-2010
[8685x2]
u can have a catch all on godaddy, i 's a onliner 8-)
if u want something nicer, multicast dns, and a superfast and well 
thought out control panel, check out dnsmadeeasy.com
Graham
2-Aug-2010
[8687x2]
What's the oneliner?  Defining the sub domains as DNS A records doesn't 
work ....
Ah... I see it now.  If you add a A record of "*", it should direct 
everything to the stipulated IP address
Will
2-Aug-2010
[8689]
right on 8-)
Graham
3-Aug-2010
[8690]
Since Cheyenne can not run as a service under Win32, what are people 
using to restart Cheyenne after a reboot of the OS?
sqlab
3-Aug-2010
[8691]
The encapped version of Cheyenne can run as a service
Graham
3-Aug-2010
[8692]
I should try again ... encapped with encmdview doesn't work ... but 
I see that doc has said that enpro should work ...
sqlab
3-Aug-2010
[8693]
I used encmd
Graham
3-Aug-2010
[8694x3]
I used encmd now ... but it still appears in the system tray.  I 
right click on the system tray icon, and use "run as a service" and 
then it stops running
and disappears from the running processes
hmm.. crash log says it is trying to run 'alert
3-Aug-2010/21:08:06+12:00 : make object! [
    code: 312
    type: 'script
    id: 'cannot-use
    arg1: 'path
    arg2: 'none!
    arg3: none
    near: [svs: system/view/screen-face 
        svs/pane: reduce [
            make face [

                offset: (system/view/screen-face/size - 200x50) / 2 
                size: 400x100 
                pane: make face [
                    size: 380x80 
                    offset: 0x24 
                    text: msg
                ]
            ]
        ]
    ]
    where: 'alert
]
Oldes
3-Aug-2010
[8697]
not tested, but if you want to start something on windows start up, 
just add link into this folder> C:\Documents and Settings\<%your-user-name%>\Start 
Menu\Programs\Startup   (if you have english windows) The folder 
names are localized so it will look different in other languages)
Graham
3-Aug-2010
[8698x6]
This is for windows 2003 .. I suspect that the user needs to login 
for startup links to work?
Found this in misc/service.r


; TBD: replace alert function by a call to MessageBox win32 API (would 
work with both Core&View)
alert: func [msg /local svs][
	svs: system/view/screen-face
	svs/pane: reduce [
		make face [
			offset: (system/view/screen-face/size - 200x50) / 2
			size: 400x100
			pane: make face [
				size: 380x80
				offset: 0x24
				text: msg
			]
		]
	]
	show svs
	open-events
	wait []
	clear svs/pane
	show svs
]
So, looks like doc hasn't got round to replacing this code which 
is called later on by this


alert "ERROR : installing a service requires Administrator rights!"
ok, so get it running as a service you need to run as administrator 
first, and then use the "run as service" menu
Well, I get the "congratulations you're running Cheyenne" page .. 
but nothing else is working
ie. the cgi, rsp and rsp web app are not
Graham
4-Aug-2010
[8704]
I wonder how slow it might be to use a coding style where each page 
is represented by a Rebol object, and to display the page back to 
the browser client, you have a render function that iteractively 
calls the render function of each element of the object.  the object 
initializes by reading the session and request objects when it is 
first instantiated
Endo
5-Aug-2010
[8705]
is there any work about running encrypted rsp pages on cheyenne? 
just like zend encoder for php?
Graham
5-Aug-2010
[8706]
what's an encrypted page?
Kaj
5-Aug-2010
[8707]
The performance of an object compositing system would depend mostly 
on how each object performs in delivering its rendering. If each 
object is fast enough, the composition is doable
Graham
5-Aug-2010
[8708]
This who process could be controlled by a VID dialect that creates 
the object that then generates the page
Kaj
5-Aug-2010
[8709x2]
Yep
My web framework works along those lines, but it doesn't use objects 
in that place
Graham
5-Aug-2010
[8711]
I'd imagine it could be quite the killer app .. a dialect that generates 
a web page for you switching between YUI, jQuery or whatever JS framework
Kaj
5-Aug-2010
[8712]
That's more in the direction of Weblocks
Graham
5-Aug-2010
[8713]
Where's your framework?
Kaj
5-Aug-2010
[8714]
On my disk :-)
Graham
5-Aug-2010
[8715x3]
Ahh.. Maxware
The html dialects I've seen before don't address the issues of JS 
frameworks ...
Might make an interesting project ...
Kaj
5-Aug-2010
[8718]
Not really; it's running a number of sites, including the Syllable 
sites. It has also performed the final distribution build of the 
last Syllable Server release. But it's not published
Graham
5-Aug-2010
[8719x3]
I've in the process of rewriting a site I built 3 years ago in YUI 
and it is so tedious and repetitive.
Ideal target for dialecting
So, does your dialect build QM sites ?
Kaj
5-Aug-2010
[8722x3]
I'm not using an HTML dialect; at least not as a requirement. The 
dialects I have are text, not REBOL
So I'm doubtful people even here would understand my design decisions 
even if I would publish it
For example, I did the Try REBOL site with it on top of QM, but I'm 
working on replacing QM fully
Graham
5-Aug-2010
[8725]
with ...?
Kaj
5-Aug-2010
[8726]
My framework. They're both MVC-style
Janko
5-Aug-2010
[8727x2]
Endo: I will need a rebol code obfuscator for making one of cheyenne 
webapps also run locally. I don't know how encryptor would work since 
local app would have to decrypt it to run it so others can see that 
and decrypt it also in same way.
but I haven't yet started coding it.
Graham
6-Aug-2010
[8729]
5-Aug-2010/20:58:17-7:00 : make object! [
    code: 200
    type: 'syntax
    id: 'invalid
    arg1: "tuple"
    arg2: "247hvs.cloud-ehr.net"
    arg3: none
    near: "(line 171) 247hvs.cloud-ehr.net  ["
    where: none
]

when using this for a webapp