Apache SSL conf: Inter-Process Session Cache

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache SSL conf: Inter-Process Session Cache

Postby XAMPP_511 » 09. August 2012 17:00

May be its trivial, however, I wasted a lot of time with errors/warnings concerning the cache.
Simple solution: load the necessary modules.
This is how the basic SSL config should look like:
Code: Select all
#   Inter-Process Session Cache:
#   IMPORTANT!
#      without loaded LoadModule cache_module modules/mod_cache.so
#      AND one of mod_socache_dbm.so OR mod_socache_shmcb.so
#      there will be no so cache available
#   Configure the SSL Session Cache:
#      First the mechanism
#      to use and second the expiring timeout (in seconds).
##       SSLSessionCache         "dbm:logs/ssl.scache"
##      OR
##       SSLSessionCache        "shmcb:logs/ssl.scache(512000)"
##       SSLSessionCacheTimeout  300
<IfModule !cache_module>
LoadModule cache_module modules/mod_cache.so
</IfModule>
# choose the mechanism
######
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
# LoadModule socache_dbm_module modules/mod_socache_dbm.so
######
<IfModule socache_shmcb_module>
SSLSessionCache        "shmcb:logs/ssl.scache(512000)"
SSLSessionCacheTimeout  300
</IfModule>
<IfModule socache_dbm_module>
SSLSessionCache         "dbm:logs/ssl.scache"
SSLSessionCacheTimeout  300
</IfModule>


May be there is a new httpd-ssl.conf in future releases ...
XAMPP_511
 
Posts: 1
Joined: 09. August 2012 16:37
Operating System: Win 7 64

Re: Apache SSL conf: Inter-Process Session Cache

Postby JonB » 10. August 2012 20:42

Many thanks for posting your 'fix'

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 81 guests