You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2021/08/24 12:57:51 UTC
svn commit: r1892571 - in /httpd/test/framework/trunk/t: conf/proxy.conf.in
modules/proxy.t
Author: ylavic
Date: Tue Aug 24 12:57:51 2021
New Revision: 1892571
URL: http://svn.apache.org/viewvc?rev=1892571&view=rev
Log:
Enable proxy reverse-match and servlet tests on 2.4.x after backport.
Modified:
httpd/test/framework/trunk/t/conf/proxy.conf.in
httpd/test/framework/trunk/t/modules/proxy.t
Modified: httpd/test/framework/trunk/t/conf/proxy.conf.in
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/conf/proxy.conf.in?rev=1892571&r1=1892570&r2=1892571&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/conf/proxy.conf.in (original)
+++ httpd/test/framework/trunk/t/conf/proxy.conf.in Tue Aug 24 12:57:51 2021
@@ -6,7 +6,7 @@
ProxyRequests On
</VirtualHost>
- <IfVersion >= 2.5.1>
+ <IfVersion >= 2.4.49>
# Test the mapping.
ProxyPass /mapping http://@SERVERNAME@:@PORT@/servlet mapping=servlet
</IfVersion>
Modified: httpd/test/framework/trunk/t/modules/proxy.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/proxy.t?rev=1892571&r1=1892570&r2=1892571&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/proxy.t (original)
+++ httpd/test/framework/trunk/t/modules/proxy.t Tue Aug 24 12:57:51 2021
@@ -21,7 +21,7 @@ $r = GET("/reverse/index.html");
ok t_cmp($r->code, 200, "reverse proxy to index.html");
ok t_cmp($r->content, qr/^welcome to /, "reverse proxied body to index.html");
-if (have_min_apache_version('2.5.1')) {
+if (have_min_apache_version('2.4.49')) {
$r = GET("/reverse-match/");
ok t_cmp($r->code, 200, "reverse proxy match");
ok t_cmp($r->content, qr/^welcome to /, "reverse proxied body match");
@@ -217,7 +217,7 @@ else {
skip "skipping UDS tests with httpd < 2.4.7" foreach (1..2);
}
-if (have_min_apache_version('2.5.1')) {
+if (have_min_apache_version('2.4.49')) {
$r = GET("/notexisting/../mapping/mapping.html");
ok t_cmp($r->code, 200, "proxy mapping=servlet map it to /servlet/mapping.html");