You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2017/01/23 12:10:38 UTC
svn commit: r1779917 - in /httpd/test/mod_h2/trunk/conf: modules.conf
sites/test2.example.org.conf
Author: icing
Date: Mon Jan 23 12:10:37 2017
New Revision: 1779917
URL: http://svn.apache.org/viewvc?rev=1779917&view=rev
Log:
adding a mod_cache setup as described in PR 60599
Modified:
httpd/test/mod_h2/trunk/conf/modules.conf
httpd/test/mod_h2/trunk/conf/sites/test2.example.org.conf
Modified: httpd/test/mod_h2/trunk/conf/modules.conf
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/conf/modules.conf?rev=1779917&r1=1779916&r2=1779917&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/conf/modules.conf (original)
+++ httpd/test/mod_h2/trunk/conf/modules.conf Mon Jan 23 12:10:37 2017
@@ -30,9 +30,9 @@ LoadModule auth_basic_module modules/mod
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule allowmethods_module modules/mod_allowmethods.so
#LoadModule file_cache_module modules/mod_file_cache.so
-#LoadModule cache_module modules/mod_cache.so
-#LoadModule cache_disk_module modules/mod_cache_disk.so
-#LoadModule cache_socache_module modules/mod_cache_socache.so
+LoadModule cache_module modules/mod_cache.so
+LoadModule cache_disk_module modules/mod_cache_disk.so
+LoadModule cache_socache_module modules/mod_cache_socache.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
#LoadModule socache_dbm_module modules/mod_socache_dbm.so
#LoadModule socache_memcache_module modules/mod_socache_memcache.so
Modified: httpd/test/mod_h2/trunk/conf/sites/test2.example.org.conf
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/conf/sites/test2.example.org.conf?rev=1779917&r1=1779916&r2=1779917&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/conf/sites/test2.example.org.conf (original)
+++ httpd/test/mod_h2/trunk/conf/sites/test2.example.org.conf Mon Jan 23 12:10:37 2017
@@ -122,6 +122,11 @@
RewriteRule /h2cproxy-rewrite(.*) h2c://test2.example.org:SUBST_PORT_HTTP_SUBST$1 [P]
</IfModule>
+ <IfModule cache_module>
+ LogLevel cache:trace1
+ CacheEnable disk /006
+ CacheRoot SUBST_SERVER_ROOT_SUBST/cache
+ </IfModule>
</VirtualHost>
<VirtualHost *:SUBST_PORT_HTTP_SUBST>