Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Lee Phillips <lee@le...> - 2002-12-17 01:49:19
Do you think it would be possible to modify WebKit.cgi so that it detects
if the AppServer is not running and, if not, restarts it? Will there be
permission problems - will the AppServer started by a cgi not have
From: Ian Bicking <ianb@co...> - 2002-12-17 02:49:16
On Monday, December 16, 2002, at 07:49 PM, Lee Phillips wrote:
> Do you think it would be possible to modify WebKit.cgi so that it
> if the AppServer is not running and, if not, restarts it? Will there be
> permission problems - will the AppServer started by a cgi not have
> enough permissions?
I think it's the concurrency problems that would be more troublesome,
though I suppose there could be some sort of file-based locking to avoid
As far as permissions, the AppServer could either be suid (so long as
you aren't worried about a local exploit), or you could run it as the
webserver, and just make sure the permissions are right on all the
directories. That opens holes too.
Another possibility would be to have some sort of cron job that would
restart the AppServer if necessary.
From: Mike Warren <spam@mi...> - 2003-01-17 01:32:59
Ian Bicking <ianb@...> writes:
> Another possibility would be to have some sort of cron job that would
> restart the AppServer if necessary.
| import os
| while 1:
| os.system( "/path/to/AppServer" )
mike [at] mike [dash] warren [dot] com
gpg --keyserver 220.127.116.11 --recv-key 579911BD
87F2 4D98 BDB0 0E90 EE2A 0CF9 1087 0884 5799 11BD