]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add support for fcgi:// proxies to mod_rewrite.
authorGarrett Rooney <rooneg@apache.org>
Wed, 10 May 2006 04:16:57 +0000 (04:16 +0000)
committerGarrett Rooney <rooneg@apache.org>
Wed, 10 May 2006 04:16:57 +0000 (04:16 +0000)
Submitted by: Markus Schiegl <ms schiegl.com>

* modules/mappers/mod_rewrite.c
  (is_absolute_uri): Recognize fcgi:// urls.

* CHANGES: Note change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@405625 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/mappers/mod_rewrite.c

diff --git a/CHANGES b/CHANGES
index e97103228612bced9338ae7bc3907f506c8f06c0..fff36d68b0da7675c3e3f1dab01d80d74441856c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
 Changes with Apache 2.3.0
   [Remove entries to the current 2.0 and 2.2 section below, when backported]
 
+  *) Add support for fcgi:// proxies to mod_rewrite.
+     [Markus Schiegl <ms schiegl.com>]
+
   *) Tidy up scoreboard [Chris Darroch <chrisd pearsoncmg.com> ]
 
   *) core, mod_http: add optional 'scheme://' prefix to ServerName directive. 
index ba3c6cb9a10371863cb38fca3a3283ad5c6e6ff7..b6024d26e67064991af751f46147a13469c9fc5b 100644 (file)
@@ -577,6 +577,9 @@ static unsigned is_absolute_uri(char *uri)
         if (!strncasecmp(uri, "tp://", 5)) {        /* ftp://    */
             return 6;
         }
+        if (!strncasecmp(uri, "cgi://", 6)) {       /* fcgi://   */
+            return 7;
+        }
         break;
 
     case 'g':