I have found that the ldap-status handler only reports details if it is configured outside of a VirtualHost. If it is inside a VirtualHost then the ldap-status page only displays the title "LDAP Cache Information". So I got my ssl configuration to work by commenting out the VirtualHost tags: #<VirtualHost *:443> #</VirtualHost> Then I had to turn off the "SSLEngine off" in the default HTTP configuration.
I have confirmed, through testing, that all ldap lookups are going out to the ldap server, as verified by network tracing, on each page access. This is not just a problem with the ldap-status page display, the problem is that all page accesses are delayed by about 3 seconds whilst ldap lookups take place.
I was able to put the cache-handler as well as auth_ldap configuration directive within a virtual host and everything worked as expected. Are you sure you had the caching enabled? Can you provide an example of a configuration that doesn't work?
(In reply to comment #2) > Can you provide an example of a configuration that doesn't work? Yes. I will do so. Sorry for the delay, I need to get a system that I can play with to do this.
Created attachment 16811 [details] httpd.conf that shows the bug I have seen the same problem on 2.0.54. Attached is our (very ugly) httpd.conf. The problem is the same if I put the ldap-status bit inside the virtual host. I believe that ldap-status worked for us in 2.0.53...
I tried to duplicate the same LDAP, SSL and virtual host configuration you have and I am still unable to duplcation the problem. Everything seems to work as expected.
Created attachment 16860 [details] How to reproduce the ldap cache problem
Comment on attachment 16860 [details] How to reproduce the ldap cache problem Please see this attachment for full details of how I can reproduce the ldap cache not working.
Sorry, this is my first time using bugzilla. I didn't realise that I needed to change the status. All the best, Mark
Can you verify whether this bug is still present in v2.2.x of httpd?
fixed in 2.2.16 and later