httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1042155 - in /httpd/test/framework/trunk/t: conf/cache.conf.in modules/cache.t
Date Sat, 04 Dec 2010 11:44:22 GMT
Author: sf
Date: Sat Dec  4 11:44:22 2010
New Revision: 1042155

URL: http://svn.apache.org/viewvc?rev=1042155&view=rev
Log:
Fix modules/cache.t to work both with mod_disk_cache and mod_cache_disk

Modified:
    httpd/test/framework/trunk/t/conf/cache.conf.in
    httpd/test/framework/trunk/t/modules/cache.t

Modified: httpd/test/framework/trunk/t/conf/cache.conf.in
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/conf/cache.conf.in?rev=1042155&r1=1042154&r2=1042155&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/conf/cache.conf.in (original)
+++ httpd/test/framework/trunk/t/conf/cache.conf.in Sat Dec  4 11:44:22 2010
@@ -14,4 +14,15 @@
             DocumentRoot @SERVERROOT@/htdocs/modules/cache
         </VirtualHost>
    </IfModule>
+   <IfModule mod_cache_disk.c>
+
+        <VirtualHost mod_cache>
+            CacheEnable    disk /cache/
+            CacheRoot      @SERVERROOT@/conf/cacheroot/ 
+            CacheDirLevels 1
+            CacheDirLength 1
+
+            DocumentRoot @SERVERROOT@/htdocs/modules/cache
+        </VirtualHost>
+   </IfModule>
 </IfModule>

Modified: httpd/test/framework/trunk/t/modules/cache.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/cache.t?rev=1042155&r1=1042154&r2=1042155&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/cache.t (original)
+++ httpd/test/framework/trunk/t/modules/cache.t Sat Dec  4 11:44:22 2010
@@ -6,7 +6,7 @@ use Apache::TestRequest;
 use Apache::TestUtil;
 use Apache::TestConfig ();
 
-plan tests => 3, need 'cache', 'disk_cache', need_min_apache_version('2.1.9');
+plan tests => 3, need 'cache', need_cache_disk, need_min_apache_version('2.1.9');
 
 Apache::TestRequest::module('mod_cache');
 



Mime
View raw message