httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scte...@apache.org
Subject svn commit: r885246 - /httpd/test/framework/trunk/t/conf/extra.conf.in
Date Sun, 29 Nov 2009 16:45:55 GMT
Author: sctemme
Date: Sun Nov 29 16:45:55 2009
New Revision: 885246

URL: http://svn.apache.org/viewvc?rev=885246&view=rev
Log:
The RewriteLock directive disappeared from the server as of this version.  Work around this
by leveraging mod_version, which is in the default module complement

Modified:
    httpd/test/framework/trunk/t/conf/extra.conf.in

Modified: httpd/test/framework/trunk/t/conf/extra.conf.in
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/conf/extra.conf.in?rev=885246&r1=885245&r2=885246&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/conf/extra.conf.in (original)
+++ httpd/test/framework/trunk/t/conf/extra.conf.in Sun Nov 29 16:45:55 2009
@@ -171,7 +171,12 @@
     RewriteEngine On
     RewriteLog @SERVERROOT@/logs/rewrite_log
     RewriteLogLevel 9
+    <IfVersion < 2.3.4>
     RewriteLock @SERVERROOT@/logs/rewrite_lock
+    </IfVersion>
+    <IfVersion >= 2.3.4>
+    Mutex rewrite-map default
+    </IfVersion>
     RewriteMap numbers-txt txt:@SERVERROOT@/htdocs/modules/rewrite/numbers.txt
     RewriteMap numbers-rnd rnd:@SERVERROOT@/htdocs/modules/rewrite/numbers.rnd
     #RewriteMap numbers-dbm dbm:@SERVERROOT@/htdocs/modules/rewrite/numbers.dbm



Mime
View raw message