[pubcookie-dev] RE: [One Login Server]

Stephen Willey willey at washington.edu
Wed Oct 5 15:16:46 PDT 2005


Makes sense to me.  

The only caution I would air is that the documentation should be very clear
that the apache directive is only useful on login servers and in certain
conditions.  

steve

> ---------- Forwarded message ----------
> Date: Tue, 4 Oct 2005 16:35:09 -0500
> From: Jon Miner <miner at doit.wisc.edu>
> To: Pubcookie Development List <pubcookie-dev at u.washington.edu>
> Subject: [pubcookie-dev] One Login Server, multiple configurations
> 
> We've got a sitation where we are moving from 
> weblogin.services.wisc.edu
> to login.wisc.edu (yes, I know, it's arbitrary, but that's 
> the world we
> live in).  As well, we are putting up an extra login server on
> weblogin.fpm.wisc.edu.  They are all, of course, actually the 
> same pair
> of machines.
> 
> All three need different configs (for Apache and Pubcookie), but can
> share keys (in fact, we intentionally share app keys, so that apps can
> trust either login server), etc.
> 
> In our test environment, we set up three full installs and made sure
> that everything worked correctly..  And then had a brain fart: if you
> could control the config file that the login server used from
> Apache's config, we could do the whole thing with one install 
> and three
> config files.
> 
> So, this patch was born.  It adds an environment variable that you can
> set (PUBCOOKIE_LOGIN_CONFIG_FILE) within Apache's config file like so:
>      setenv PUBCOOKIE_LOGIN_CONFIG_FILE 
> /usr/local/webiso-dev/pubcookie/config-logindev.wisc.edu
> (No wrapping, of course, in case your mailer wraps the long line.)
> within the appropriate VirtualHost.
> 
> It works beautifully, and if nobody has objections, I'll check it in.
> 
> jon
> 
> -- 
> .Jonathan J. Miner------------------Division of Information 
> Technology.
> |miner at doit.wisc.edu                 University Of Wisconsin 
> - Madison|
> |608/262.9655                               Room 3146 
> Computer Science|
> `-------------------------------------------------------------
> --------'
> 
> Flanders: Homer, affordable tract housing made us neighbors, but you
>            made us friends.
> Homer:  To Ned Flanders, the richest left-handed man in town.
>             When Flanders Failed
>                                                               
> (433/708)
> 



More information about the pubcookie-dev mailing list