httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rudolf Wolf <rudolf.w...@dantax.cz>
Subject Re: LDAP cache in Apache 2.0.39
Date Tue, 23 Jul 2002 14:11:30 GMT
I don't have any expiriences with MM library. Can you give me more clue, howto do it? 

Thanks,
Ruda.
On Tue, Jul 23, 2002 at 12:13:55PM +0200, Charles Bueche wrote:
> On Tue, 23 Jul 2002 09:29:40 +0200
> Rudolf Wolf <rudolf.wolf@dantax.cz> wrote:
> > Hello,
> > 
> > I have a question about LDAP cache in Apache 2.0.39. I have succesfully
> > built Apache with modules mod_ldap and mod_auth_ldap.
> > /usr/local/apache2/bin/httpd -l-----------------------------------
> > core.c,   mod_access.c,  mod_auth.c, mod_include.c, mod_auth_ldap.c,
> > mod_log_config.c, mod_env.c, mod_setenvif.c, mod_ssl.c, prefork.c,
> > http_core.c,mod_mime.c, util_ldap.c, mod_status.c, mod_autoindex.c,
> > mod_asis.c, mod_cgi.c, mod_negotiation.c, mod_dir.c, mod_imap.c,
> > mod_actions.c, mod_userdir.c, mod_alias.c, mod_rewrite.c, mod_so.c
> > 
> > Added to httpd.conf sample entry for LDAP cache
> > -------------------------------------------------------
> > <IfModule util_ldap.c>
> > LDAPSharedCacheSize 200000
> > LDAPCacheEntries 1024
> > LDAPCacheTTL 600
> > LDAPOpCacheEntries 1024
> > LDAPOpCacheTTL 600
> > 
> > <Location /ldap-status>
> >    SetHandler ldap-status
> >    Order allow,deny
> >    Allow from all
> >  </Location>
> > </IfModule>
> > 						
> > When I used browser to check the ldap cache status, I can only see:
> > ---------------------------------------------------------------------
> > 		LDAP Cache Information
> > Cache Name Entries Avg. Chain Len. Hits Ins/Rem Purges Avg Purge Time 
> > Cache has not been enabled/initialised. 
> > 
> > Have you any idea, whats wrong?
> 
> Have you got shared memory for the cache ?I don't know for Apache 2, but
> with auth_ldap and Apache 1, I needed to recompile MM and include it for
> the shared cache to work.
> 
> Charles
> 
> -- 
> Charles Bueche <charles@bueche.ch>
> sand, snow, wave, wind and net -surfer
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message