You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2020/11/09 07:54:32 UTC

svn commit: r1883221 - /httpd/test/framework/trunk/t/conf/extra.conf.in

Author: rpluem
Date: Mon Nov  9 07:54:32 2020
New Revision: 1883221

URL: http://svn.apache.org/viewvc?rev=1883221&view=rev
Log:
* For now this only works in trunk

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=1883221&r1=1883220&r2=1883221&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/conf/extra.conf.in (original)
+++ httpd/test/framework/trunk/t/conf/extra.conf.in Mon Nov  9 07:54:32 2020
@@ -1333,18 +1333,22 @@ LimitRequestFields    32
     <Directory @SERVERROOT@/htdocs/modules/allowmethods>
         Options +Indexes
     </Directory>
-    <Directory @SERVERROOT@/htdocs/modules/allowmethods/NoPost>
-        AllowMethods -POST
-    </Directory>
+    <IfVersion >= 2.5.1>
+        <Directory @SERVERROOT@/htdocs/modules/allowmethods/NoPost>
+            AllowMethods -POST
+        </Directory>
+    </IfVersion>
     <Directory @SERVERROOT@/htdocs/modules/allowmethods/Get>
         AllowMethods GET
     </Directory>
-    <Directory @SERVERROOT@/htdocs/modules/allowmethods/Get/post>
-        AllowMethods +POST
-    </Directory>
-    <Directory @SERVERROOT@/htdocs/modules/allowmethods/Get/none>
-        AllowMethods -GET
-    </Directory>
+    <IfVersion >= 2.5.1>
+        <Directory @SERVERROOT@/htdocs/modules/allowmethods/Get/post>
+            AllowMethods +POST
+        </Directory>
+        <Directory @SERVERROOT@/htdocs/modules/allowmethods/Get/none>
+            AllowMethods -GET
+        </Directory>
+    </IfVersion>
     <Directory @SERVERROOT@/htdocs/modules/allowmethods/Head>
         AllowMethods HEAD
     </Directory>