Skip to main content.
home | support | download

Back to List Archive

Re: swish.cgi problem with conf.files

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Sun Jun 05 2005 - 19:06:21 GMT
On Sun, Jun 05, 2005 at 11:58:58AM -0700, Bill Conlon wrote:
> mod_perl is persistent, so I would think the first access is going to  
> control the value of Swish_Conf_File.  I would think Swich_Conf_File  
> would retain its value until mod_perl times out.

But it's set on each request in the environment and swish.cgi looks at
that every request.  The first time it sees a news config file name it
loads it from disk, merges with the config hash in swish.cgi and
caches that (so the config is only read once per apache child
process).

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Sun Jun 5 12:06:21 2005