Return-Path: Delivered-To: apmail-httpd-test-cvs-archive@www.apache.org Received: (qmail 42918 invoked from network); 24 Oct 2004 20:45:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Oct 2004 20:45:40 -0000 Received: (qmail 30106 invoked by uid 500); 24 Oct 2004 20:45:40 -0000 Delivered-To: apmail-httpd-test-cvs-archive@httpd.apache.org Received: (qmail 30031 invoked by uid 500); 24 Oct 2004 20:45:39 -0000 Mailing-List: contact test-cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-cvs@httpd.apache.org Received: (qmail 30017 invoked by uid 99); 24 Oct 2004 20:45:39 -0000 X-ASF-Spam-Status: No, hits=-9.7 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,USERPASS X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 24 Oct 2004 13:45:38 -0700 Received: (qmail 42856 invoked by uid 1582); 24 Oct 2004 20:45:37 -0000 Date: 24 Oct 2004 20:45:37 -0000 Message-ID: <20041024204537.42855.qmail@minotaur.apache.org> From: jorton@apache.org To: httpd-test-cvs@apache.org Subject: cvs commit: httpd-test/perl-framework/t/conf extra.conf.in X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jorton 2004/10/24 13:45:37 Modified: perl-framework/t/modules rewrite.t perl-framework/t/conf extra.conf.in Log: Add test for mod_rewrite reverse proxy vs QUERY_STRING regression in 1.3.32. Revision Changes Path 1.12 +10 -1 httpd-test/perl-framework/t/modules/rewrite.t Index: rewrite.t =================================================================== RCS file: /home/cvs/httpd-test/perl-framework/t/modules/rewrite.t,v retrieving revision 1.11 retrieving revision 1.12 diff -d -w -u -r1.11 -r1.12 --- rewrite.t 12 Oct 2004 13:53:41 -0000 1.11 +++ rewrite.t 24 Oct 2004 20:45:37 -0000 1.12 @@ -14,7 +14,7 @@ my @url = qw(forbidden gone perm temp); my $r; -plan tests => @map * @num + 4, need_module 'rewrite'; +plan tests => @map * @num + 5, need_module 'rewrite'; foreach (@map) { foreach my $n (@num) { @@ -59,4 +59,13 @@ ok t_cmp($r, "JACKPOT", "request was proxied"); } else { skip "Skipping rewrite to proxy; no proxy module."; +} + +if (have_module('mod_proxy') && have_module('mod_cgi')) { + # broken in 1.3.32 + $r = GET_BODY("/modules/rewrite/proxy2/env.pl?fish=fowl"); + chomp $r; + ok t_cmp($r, qr/QUERY_STRING = fish=fowl\n/s, "QUERY_STRING passed OK"); +} else { + skip "Skipping rewrite QUERY_STRING test; missing proxy or CGI module"; } 1.56 +4 -0 httpd-test/perl-framework/t/conf/extra.conf.in Index: extra.conf.in =================================================================== RCS file: /home/cvs/httpd-test/perl-framework/t/conf/extra.conf.in,v retrieving revision 1.55 retrieving revision 1.56 diff -d -w -u -r1.55 -r1.56 --- extra.conf.in 19 Oct 2004 15:02:25 -0000 1.55 +++ extra.conf.in 24 Oct 2004 20:45:37 -0000 1.56 @@ -185,6 +185,10 @@ RewriteRule ^proxy.html$ http://@SERVERNAME@:@PORT@/modules/rewrite/lucky13.html [L,P] + + ### Proxy pass-through to env.pl + RewriteRule ^/modules/rewrite/proxy2/(.*)$ http://@SERVERNAME@:@PORT@/modules/cgi/$1 [L,P] + ##