[OGo-MacOSX] Re: How can I have the application running in the background without using the windows server
Philippe Laval
macosx@opengroupware.org
Thu, 30 Mar 2006 23:23:06 +0200
Hi,
I have read that in the mailing list archive. Here is the text for
quick access.
I probably have to create a tool application (without link to AppKit).
I will do that after reading the examples and the code.
That was just a quick question.
================
On 21.08.2004, at 00:49, Mont Rothstein wrote:
> Thank you, that was very helpful. =A0I was able to both run the
sample
> and also use the template to build my own test app.
>
> Do you have any pointers on how I can move to the next level of=20
> running a Sope app as a Web Application? =A0i.e. via apache
without=20
> Cocoa?
Actually, this is not very hard to achieve. You need to compile=20
mod_NGObjWeb and install appropriately. I never did this on Mac OS X=20
but I heard that it really works out of the box (it uses apxs, so
it's=20=
supposed to work out of the box, no surprise here). The README in=20
mod_ngobjweb (located in the SOPE folder) explains the steps how to=20
load the modules with the different Apaches and also contains a
simple=20=
Apache config.
You then need to start your SOPE:X app from the shell with something
like
/Applications/MyWebApp.sopex/Contents/MacOS/MyWebApp -WOPort 20000
--daemon
Note the last argument! (Just for the records: this is really specific
to SOPE:X and not required by plain SOPE). The WOPort number can be any
free port, presumably above 1024. Note that the port in the Apache
config needs to be the same, otherwise the adaptor won't be able to
contact the application (of course).
Cheers,
Marcus