At 05:12 PM 7/22/01 -0400, Jay Love wrote:
>I've finished modifiying the AppServer to handle multiple "services" and
>virtual hosts, and redoing the HTTP server functionality.
>
>The changes are large enought that I'd like some folks to look it over
>before I commit it.  Anyone who has some time to look at it, please let
>me know.
>
>The changes are almost entirely in the AppServer and ThreadedAppServer
>classes and the AppServer.config file.  The way it works is, in the
>AppServer.config, you specify any number of RequestHandler classes which
>implement services, a service meaning it is listening on a certain port.
>You can also specify any number of "applications", which a service can
>use if it needs to.  For each service, there will be multiple instances
>of the RequestHandler class for that service.  For each "application",
>there will be only one instance of the application class.  Services can
>specify which application they will use.  For the default service
>classes, which are WebKitRequestHandler and HTTPRequestHandler, you can
>specify any number of hosts, each mapped to an application.
>
>One little wrinkle arose from all this, and that's the use of
>address.text.  With multiple ports, which one goes into address.text?  I
>suggest dropping the use of address.text.  It is really only used in
>WebKit.cgi, and you already have to edit that file to specify the WebKit
>directory.  Why not just specify the host:port instead.
>
>Anyway, let me know if you can take a look at this.  It will probably be
>easiest to just send out a complete tarball.
>
>Jay

I took a look at the changes.  I think that the new settings in 
Application.config could use some detailed documentation -- I was unclear 
how they work.  Also, I noticed some stuff in the diffs that needs to be 
cleaned up before this can be checked in -- references to 
"latitude.jslove.org" and stuff like that.  And generally, a bit more 
docstrings and explanation of the new code too.

Generally I really like the idea behind this change.  I haven't had a 
chance to actually try it out though, but I hope it works :-)  I was hoping 
someone else would try it and work out the kinks before I did :-)  If not, 
maybe I'll get a chance towards the end of the week.


--

- Geoff Talvola
   [EMAIL PROTECTED]

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to