> I'm having problems in that some of the tests in _12 and _13 use
> RewriteEngine, which I have disabled. To get _12 to pass, I had to
> delete all mention of "RewriteEngine".
please try the attached patch.
--Geoff
Index: t/filter/both_str_req_proxy.t
===================================================================
RCS file: /home/cvspublic/modperl-2.0/t/filter/both_str_req_proxy.t,v
retrieving revision 1.1
diff -u -r1.1 both_str_req_proxy.t
--- t/filter/both_str_req_proxy.t 25 Nov 2003 00:08:02 -0000 1.1
+++ t/filter/both_str_req_proxy.t 25 Mar 2004 14:41:35 -0000
@@ -5,7 +5,7 @@
use Apache::TestRequest;
use Apache::TestUtil;
-plan tests => 1, (have_module('proxy') && have_access);
+plan tests => 1, (have_module(qw(proxy rewrite)) && have_access);
my $data = join ' ', 'A'..'Z', 0..9;
my $expected = lc $data; # that's what the input filter does
Index: t/filter/TestFilter/both_str_req_proxy.pm
===================================================================
RCS file: /home/cvspublic/modperl-2.0/t/filter/TestFilter/both_str_req_proxy.pm,v
retrieving revision 1.5
diff -u -r1.5 both_str_req_proxy.pm
--- t/filter/TestFilter/both_str_req_proxy.pm 19 Feb 2004 14:07:15 -0000 1.5
+++ t/filter/TestFilter/both_str_req_proxy.pm 25 Mar 2004 14:41:35 -0000
@@ -58,21 +58,23 @@
__DATA__
<NoAutoConfig>
<IfModule mod_proxy.c>
- <Proxy http://@servername@:@port@/*>
- <IfModule @ACCESS_MODULE@>
- Order Deny,Allow
- Deny from all
- Allow from @servername@
- </IfModule>
- </Proxy>
+ <IfModule mod_proxy.c>
+ <Proxy http://@servername@:@port@/*>
+ <IfModule @ACCESS_MODULE@>
+ Order Deny,Allow
+ Deny from all
+ Allow from @servername@
+ </IfModule>
+ </Proxy>
- ProxyRequests Off
- RewriteEngine On
+ ProxyRequests Off
+ RewriteEngine On
- ProxyPass /TestFilter__both_str_req_proxy/ \
- http://@servername@:@port@/TestFilter__both_str_req_proxy_content/
- ProxyPassReverse /TestFilter__both_str_req_proxy/ \
- http://@servername@:@port@/TestFilter__both_str_req_proxy_content/
+ ProxyPass /TestFilter__both_str_req_proxy/ \
+ http://@servername@:@port@/TestFilter__both_str_req_proxy_content/
+ ProxyPassReverse /TestFilter__both_str_req_proxy/ \
+ http://@servername@:@port@/TestFilter__both_str_req_proxy_content/
+ </IfModule>
</IfModule>
PerlModule TestFilter::both_str_req_proxy
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html