httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scte...@apache.org
Subject svn commit: r903516 - /httpd/test/framework/trunk/t/conf/extra.conf.in
Date Wed, 27 Jan 2010 00:44:15 GMT
Author: sctemme
Date: Wed Jan 27 00:44:14 2010
New Revision: 903516

URL: http://svn.apache.org/viewvc?rev=903516&view=rev
Log:
Final IfDefines to make Apache 1.3 not fall over IfVersion

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=903516&r1=903515&r2=903516&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/conf/extra.conf.in (original)
+++ httpd/test/framework/trunk/t/conf/extra.conf.in Wed Jan 27 00:44:14 2010
@@ -171,15 +171,20 @@
     RewriteEngine On
     RewriteLog @SERVERROOT@/logs/rewrite_log
     RewriteLogLevel 9
-    <IfVersion < 2.3.4>
-    RewriteLock @SERVERROOT@/logs/rewrite_lock
-    </IfVersion>
-    <IfVersion >= 2.3.4>
-    # mutex created automatically
-    # config needed only if file-based mutexes are used and
-    # default lock file dir is inappropriate
-    # Mutex file:/path/to/lockdir rewrite-map
-    </IfVersion>
+    <IfDefine !APACHE1>
+        <IfVersion < 2.3.4>
+            RewriteLock @SERVERROOT@/logs/rewrite_lock
+        </IfVersion>
+        <IfVersion >= 2.3.4>
+            # mutex created automatically
+            # config needed only if file-based mutexes are used and
+            # default lock file dir is inappropriate
+            # Mutex file:/path/to/lockdir rewrite-map
+        </IfVersion>
+    </IfDefine>
+    <IfDefine APACHE1>
+        RewriteLock @SERVERROOT@/logs/rewrite_lock
+    </IfDefine>        
     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