[plt-scheme] web server config

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Thu May 3 17:09:25 EDT 2007

On 5/3/07, David Gurvich <david.gurvich at verizon.net> wrote:
> Is it possible to use different configuration files for different instances of
> the plt webserver ?

Yes

> Simply create a different configuration-table file and
> use that to change settings.  In configuration.ss there is a setting:
>
> (define default-configuration-table-path
>         (build-path (collection-path "web-server") "configuration-table"))
>
> The only remaining problem is having multiple instances of the webserver
> running.  That might cause problems with memory requirements.  Is there a way
> to have different ports be served with different configuration tables using
> only one instance of the webserver?

No. However, every virtual host has its own tables anyways, so whether
it is one OS process or many, there will be an identical memory
footprint.

Jay

-- 
Jay McCarthy <jay.mccarthy at gmail.com>
http://jay.teammccarthy.org


Posted on the users mailing list.