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

svn commit: r405625 - in /httpd/httpd/trunk: CHANGES modules/mappers/mod_rewrite.c

Author: rooneg
Date: Tue May  9 21:16:57 2006
New Revision: 405625

URL: http://svn.apache.org/viewcvs?rev=405625&view=rev
Log:
Add support for fcgi:// proxies to mod_rewrite.

Submitted by: Markus Schiegl <ms schiegl.com>

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

* CHANGES: Note change.

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/CHANGES?rev=405625&r1=405624&r2=405625&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Tue May  9 21:16:57 2006
@@ -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. 

Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?rev=405625&r1=405624&r2=405625&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Tue May  9 21:16:57 2006
@@ -577,6 +577,9 @@
         if (!strncasecmp(uri, "tp://", 5)) {        /* ftp://    */
             return 6;
         }
+        if (!strncasecmp(uri, "cgi://", 6)) {       /* fcgi://   */
+            return 7;
+        }
         break;
 
     case 'g':