Re: [AOLSERVER] Mass Virtual Hosting system for AolServer 4.0.x?

2005-05-11 Thread Dossy Shiobara
On 2005.05.11, Xavier Beaudouin <[EMAIL PROTECTED]> wrote: > > Thanks for the advice... :) Now I just need to code the ldap part :) Start here: http://www.panoptic.com/wiki/aolserver/nsldap -- Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network

Re: [AOLSERVER] Mass Virtual Hosting system for AolServer 4.0.x?

2005-05-11 Thread Wojciech Kocjan
Xavier Beaudouin napisaÅ(a): Well why don't you just change the cache type to timing out, just switch from Ns_CacheCreateSz() to Ns_CacheCreate() and it should work. Thanks for the advice... :) Now I just need to code the ldap part :) How did googling 'tcl ldap' end up? I remember there is an LDAP

Re: [AOLSERVER] Mass Virtual Hosting system for AolServer 4.0.x?

2005-05-11 Thread Xavier Beaudouin
This is exactly what I was looking for... I just need to adapt it for LDAP and SQL... and add a callback to auto garbage collector old database stuff to get a TTL for cached hosts :) Well why don't you just change the cache type to timing out, just switch from Ns_CacheCreateSz() to Ns_CacheCreate()

[AOLSERVER] Cache timeout handling in 3.x

2005-05-11 Thread Wojciech Kocjan
Hello, I've noticed that in 3.4.2 (the code is quite different in 4.0, so it's hard to say how it handles that), the cache mechanism tends to update expiration date when I call Ns_CacheCreateEntry on an existing entry. I wanted to have a cache that expires after at most 15 minutes, because I have d

Re: [AOLSERVER] Mass Virtual Hosting system for AolServer 4.0.x?

2005-05-11 Thread Wojciech Kocjan
Xavier Beaudouin napisaÅ(a): This is exactly what I was looking for... I just need to adapt it for LDAP and SQL... and add a callback to auto garbage collector old database stuff to get a TTL for cached hosts :) Well why don't you just change the cache type to timing out, just switch from Ns_CacheC