From c5bb63f9e2a0e69b85736e7df034655265c6cfb43ea0fe8fb32a82aa6798b611 Mon Sep 17 00:00:00 2001 From: Roman Drahtmueller Date: Mon, 17 Feb 2014 17:32:05 +0000 Subject: [PATCH] - /etc/sysconfig/apache2: add socache_shmcb to the list of modules that are enabled. /etc/apache2/ssl-global.conf: make SSLSessionCache shmcb... conditional on IfModule socache_shmcb. The same applies to SSLSessionCache dmb:* via module socache_dbm in commented section of same file. [bnc#864185] - /etc/sysconfig/apache2: remove reference to non-existing script /usr/share/doc/packages/apache2/certificate.sh, which was only a wrapper to mkcert.sh anyways. [bnc#864185] OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=401 --- apache2-ssl-global.conf | 8 ++++++-- apache2.changes | 13 +++++++++++++ sysconfig.apache2 | 7 ++++--- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/apache2-ssl-global.conf b/apache2-ssl-global.conf index a2b664c..5e1eed4 100644 --- a/apache2-ssl-global.conf +++ b/apache2-ssl-global.conf @@ -39,13 +39,17 @@ # Inter-Process Session Cache: # Configure the SSL Session Cache: First the mechanism # to use and second the expiring timeout (in seconds). - # shm means the same as shmht. # Note that on most platforms shared memory segments are not allowed to be on # network-mounted drives, so in that case you need to use the dbm method. #SSLSessionCache none + # #SSLSessionCache dbm:/var/lib/apache2/ssl_scache - #SSLSessionCache shmht:/var/lib/apache2/ssl_scache(512000) + # + + SSLSessionCache shmcb:/var/lib/apache2/ssl_scache(512000) + + SSLSessionCacheTimeout 300 diff --git a/apache2.changes b/apache2.changes index b647f3b..55d12d4 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Feb 17 18:31:11 CET 2014 - draht@suse.de + +- /etc/sysconfig/apache2: add socache_shmcb to the list of modules + that are enabled. + /etc/apache2/ssl-global.conf: make SSLSessionCache shmcb... + conditional on IfModule socache_shmcb. + The same applies to SSLSessionCache dmb:* via module socache_dbm + in commented section of same file. [bnc#864185] +- /etc/sysconfig/apache2: remove reference to non-existing script + /usr/share/doc/packages/apache2/certificate.sh, which was only a + wrapper to mkcert.sh anyways. [bnc#864185] + ------------------------------------------------------------------- Mon Nov 25 22:15:51 UTC 2013 - crrodriguez@opensuse.org diff --git a/sysconfig.apache2 b/sysconfig.apache2 index 46149e5..f47bc50 100644 --- a/sysconfig.apache2 +++ b/sysconfig.apache2 @@ -52,8 +52,9 @@ APACHE_CONF_INCLUDE_DIRS="" # You may also name an absolute path if you like. # # * NOTE ON SSL: before you can use mod_ssl, you need a server certificate. -# A test certificate can be created by entering -# 'cd /usr/share/doc/packages/apache2; ./certificate.sh' as root. +# A test certificate can be created by (as root): +# cd /usr/share/doc/packages/apache2; /bin/sh ./mkcert.sh make --no-print-directory /usr/bin/openssl /usr/sbin/ test +# Please feel free to have a look at the mkcert.sh script to see how certificates can be created. # Also, you need to set the ServerName inside the # block to the fully qualified domain name (see /etc/HOSTNAME). # * if your server certificate is protected by a passphrase you should increase the @@ -72,7 +73,7 @@ APACHE_CONF_INCLUDE_DIRS="" # apache's default installation # APACHE_MODULES="authz_host actions alias asis auth autoindex cgi dir imap include log_config mime negotiation setenvif status userdir" # your settings -APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir php5 reqtimeout" +APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl socache_shmcb userdir php5 reqtimeout" ## Type: string