You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2013/06/30 10:02:17 UTC

svn commit: r1498069 - in /httpd/test/framework/trunk/t: conf/extra.conf.in security/CVE-2011-3368.t

Author: rjung
Date: Sun Jun 30 08:02:17 2013
New Revision: 1498069

URL: http://svn.apache.org/r1498069
Log:
ProxyPassMatch is IfVersion >= 2.2.5.

Modified:
    httpd/test/framework/trunk/t/conf/extra.conf.in
    httpd/test/framework/trunk/t/security/CVE-2011-3368.t

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=1498069&r1=1498068&r2=1498069&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/conf/extra.conf.in (original)
+++ httpd/test/framework/trunk/t/conf/extra.conf.in Sun Jun 30 08:02:17 2013
@@ -254,10 +254,12 @@
       ProxyPassReverse /reverse/ http://@SERVERNAME@:@PORT@/
    </VirtualHost>
 
-   <VirtualHost cve_2011_3368>
-      DocumentRoot @SERVERROOT@/htdocs/modules/proxy
-      ProxyPassMatch (.*) http://@SERVERNAME@$1
-   </VirtualHost>
+   <IfVersion >= 2.2.5>
+      <VirtualHost cve_2011_3368>
+         DocumentRoot @SERVERROOT@/htdocs/modules/proxy
+         ProxyPassMatch (.*) http://@SERVERNAME@$1
+      </VirtualHost>
+   </IfVersion>
 </IfModule>
   
 ##

Modified: httpd/test/framework/trunk/t/security/CVE-2011-3368.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/security/CVE-2011-3368.t?rev=1498069&r1=1498068&r2=1498069&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/security/CVE-2011-3368.t (original)
+++ httpd/test/framework/trunk/t/security/CVE-2011-3368.t Sun Jun 30 08:02:17 2013
@@ -5,7 +5,7 @@ use Apache::Test;
 use Apache::TestRequest;
 use Apache::TestUtil;
 
-plan tests => 3, need 'proxy';
+plan tests => 3, need 'proxy', need_min_apache_version('2.2.5');
 
 Apache::TestRequest::module("cve_2011_3368");