You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2023/01/09 20:22:11 UTC

svn commit: r1906515 - in /httpd/test/framework/trunk/t: apache/hostcheck.t conf/core.conf.in

Author: covener
Date: Mon Jan  9 20:22:11 2023
New Revision: 1906515

URL: http://svn.apache.org/viewvc?rev=1906515&view=rev
Log:
StrictHostCheck was backported in 2.4.49

passes on current 2.4.x


Modified:
    httpd/test/framework/trunk/t/apache/hostcheck.t
    httpd/test/framework/trunk/t/conf/core.conf.in

Modified: httpd/test/framework/trunk/t/apache/hostcheck.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/apache/hostcheck.t?rev=1906515&r1=1906514&r2=1906515&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/apache/hostcheck.t (original)
+++ httpd/test/framework/trunk/t/apache/hostcheck.t Mon Jan  9 20:22:11 2023
@@ -21,7 +21,7 @@ my @test_cases = (
   [ "GET / HTTP/1.1\r\nHost: nvh-strict\r\n\r\n"     => 200, 200, "NVH matches"],
   [ "GET / HTTP/1.1\r\nHost: nvh-strict:1\r\n\r\n"   => 200, 200, "NVH matches port ignored"],
 );
-plan tests => scalar(@test_cases) * 2, need_min_apache_version('2.5.1');
+plan tests => scalar(@test_cases) * 2, need_min_apache_version('2.4.49');
 
 
 foreach my $vhosts ((["default" => 1], ["core" => 2])) {

Modified: httpd/test/framework/trunk/t/conf/core.conf.in
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/conf/core.conf.in?rev=1906515&r1=1906514&r2=1906515&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/conf/core.conf.in (original)
+++ httpd/test/framework/trunk/t/conf/core.conf.in Mon Jan  9 20:22:11 2023
@@ -6,7 +6,7 @@ MaxMemFree 1
 
 <VirtualHost strict-default:core>
       ServerName default-strict
-      <IfVersion >= 2.5.1>
+      <IfVersion >= 2.4.49>
           # StrictHostCheck can only be configure globally or in a "default" vhost
           StrictHostCheck  ON
       </IfVersion>