From: Jay Love <jsliv@js...> - 2000-08-01 03:03:17
Added wkMonitor.py. This is a new way to start the AppServer as a long
running server (ie not using OneShot.cgi).
It starts the AppServer and then monitors its health. If it can't
connect to the AppServer, it kills it and starts another one. It's not
great, but its a start.
Application.py: edited Application.returnInstance so that it doesn't
cache Servlets that are misbehaving. (Bug report from Geoff)
Application.py: Modified serverSidePathForRequest (watchout!) to check
if the request is outside a context. If it can find the path outside of
a context and relative to the SERVER_ROOT, it will serve it. This is
mainly for PSP pages, so that they can be served from the standard
docroot. In apache, (using the new modApache adaptor that Dave Wallace
contributed) I just added this to my httpd.conf outside of any location
AddHandler python-program .psp
and now any request with a .psp extension goes to WebKit. (There are
probably security implication here that need to be investigated)
HTTPRequest.py: added a function fsURI, that is called from
Application.serverSidePathForRequest, which generates an absolute path
from a request and the webserver's docroot.