]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_rewrite: Add scgi scheme detection (backport r729538). [André Malo]
authorGuenter Knauf <fuankg@apache.org>
Mon, 28 Sep 2009 00:48:27 +0000 (00:48 +0000)
committerGuenter Knauf <fuankg@apache.org>
Mon, 28 Sep 2009 00:48:27 +0000 (00:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@819438 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/mappers/mod_rewrite.c

diff --git a/CHANGES b/CHANGES
index 2e2cb2886dc810eecc4e1bacd3cbb844261e89b1..05c06b94e92df67ba7caa641f2b32260dac1bc39 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.2.15
 
+  *) mod_rewrite: Add scgi scheme detection (backport r729538). [André Malo]
+
   *) mod_ssl: fixed wrong 3rd parameter passed to apr_brigade_split_line().
      Reported on the list by Jie Gao. [Guenter Knauf]
 
diff --git a/STATUS b/STATUS
index 27ad53782955ad05bdd6cf95d0fb98d1235a46bd..c1724c1bec824fc36faf12e8598672e589334140 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -87,12 +87,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
- * mod_rewrite: Add scgi scheme detection. /me completely forgot, that
-   mod_rewrite was extended for this as well...
-   Trunk Patch: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?r1=728220&r2=729538
-   (applies with 40 lines offset in 2.2)
-   +1: nd, minfrin, trawick
-
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
 
index b9c8a51ff886b18507b0eeca2b51adf9f4c75b53..e92c440986d7440a6bd66a84f07169638aa3630f 100644 (file)
@@ -606,6 +606,13 @@ static unsigned is_absolute_uri(char *uri)
             return 7;
         }
         break;
+
+    case 's':
+    case 'S':
+        if (!strncasecmp(uri, "cgi://", 6)) {       /* scgi://   */
+            return 7;
+        }
+        break;
     }
 
     return 0;