World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
onetom 17-Apr-2011 [9620] | rebol/core can't use libs anyway, can it? |
Dockimbel 17-Apr-2011 [9621] | No, it can't on OS X. |
Maxim 17-Apr-2011 [9622] | but pro can no? |
Dockimbel 17-Apr-2011 [9623x2] | Pro: yes |
/Library component is needed on UNIX (including OS X) to map: set-uid, set-gid, chown, kill and get-pid | |
onetom 17-Apr-2011 [9625x4] | aha... so i need /view. it would be great to insert this line on the download page. |
or into the source code at least | |
but isn't it required only if i use the mod-userdir? | |
(which i would like to see an example about too. any urls about it?) | |
Dockimbel 17-Apr-2011 [9629x2] | Carl has introduced 'access-os native in 2.7.8 to map internally all those external dependencies, I haven't tested if it was available on OS X too, doing it now... |
kill( ) and get-pid( ) are needed in all cases | |
onetom 17-Apr-2011 [9631x3] | (running rebview -qws cheyenne.r even with -w 0 is really ugly under osx, because of the 2 black app icons which doesn't even have a window associated.... :/) |
but it works with rebview. would be nice to still have a /core only version | |
there was no need for changing the %libc.dylib | |
Kaj 17-Apr-2011 [9634] | The OS most probably uses its search paths to find it |
Dockimbel 17-Apr-2011 [9635x2] | Right, library loading works OK with rebpro too without any change. |
It seems that 'access-os is active under OS X too. I'm adding the support for it right now, so that Cheyenne can run on /Core too. | |
onetom 17-Apr-2011 [9637x4] | so, i can't run it from source on a headless linux server, right? |
that would be awesome | |
i will test it immediately | |
Dockimbel: did u get my email too? | |
Dockimbel 17-Apr-2011 [9641x2] | Yes, it can since 0.9.20, thanks to 'access-os native, and it will in a few minutes on OS X too (requires /Core 2.7.8) |
onetom: yes, I will look into it right after fixing this issue. | |
Maxim 17-Apr-2011 [9643x2] | doc, having issues with a handler I am building. my mod is using send-msg (taken from the RSP mod) in the make-response(). the handler actually pops-up and it runs the proper code, I can see the printing in the console. when my god gets its task-done called, it has the proper code in the result.... all seems good.. :-) except: the browser doesn't get the response and it hangs (telling me that its waiting for the server). any clues? |
god = mod hehehe | |
onetom 17-Apr-2011 [9645] | Maxim: r u returning true at the end of make-response? |
Dockimbel 17-Apr-2011 [9646x4] | Max: have you copied the calls to service/* in mod-rsp/task-done? (Will check that after fixing this issue) |
I think I have found an issue with /Core 2.7.8 on OS X, the READ-CGI mezz is missing! That's making Cheyenne (rev 127) crash on any CGI script request. | |
I need to patch Cheyenne to workaround that. | |
This CGI issue on OS X crashes Cheyenne in source mode and the PRO binary (the CMD binary is unaffected). | |
onetom 17-Apr-2011 [9650x3] | sounds weired because i thought i was using it in cgi mode |
bind-extern CGI to [.r .cgi] bind-extern RSP to [.j .rsp] | |
my config is like this | |
Dockimbel 17-Apr-2011 [9653] | It crashes only if you call READ-CGI. |
onetom 17-Apr-2011 [9654x2] | and u only call it when there is a POST request? |
ah, ok, i see it in source read-cgi | |
Dockimbel 17-Apr-2011 [9656x4] | You can call it whenever you want, but it is useful only if there's some input data. |
I have included the READ-CGI mezz in CGI.r to make CGI work on /Core 2.7.8 on OS X. Testing, will push it in a couple of minutes. | |
Changes commited to revision 128: FEAT: added support for 'access-os native. Now Cheyenne can work with /Core on MacOS X. FIX: READ-CGI mezzanine is missing in /Core 2.7.8 on MacOS X, Cheyenne is now supplying it in such case. | |
onetom: can you test the changes on your Mac? It should now work with /Core too. | |
onetom 17-Apr-2011 [9660] | Script: "Encap virtual filesystem" (21-Sep-2009) REBOL - Security Check: Script requests permission to execute a system shell command: netstat -f inet -p tcp -na Yes, allow all, no, or quit? (Y/A/N/Q) |
Dockimbel 17-Apr-2011 [9661] | Answer: A |
onetom 17-Apr-2011 [9662x4] | hmm is it the implementation of the access-os? |
cheyenne specific thing? | |
it starts otherwise | |
how can i test the read-cgi issue? | |
Dockimbel 17-Apr-2011 [9666x4] | It is a Cheyenne thing to check for available TCP ports for listening. |
onetome: use the default test site from the source archive. | |
http://localhost | |
Then just click on the CGI test. | |
older newer | first last |