httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Bueche <char...@bueche.ch>
Subject Re: LDAP cache in Apache 2.0.39
Date Tue, 23 Jul 2002 10:13:55 GMT
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


Mime
View raw message