Index: trunk/server/common/patches/httpd-suexec-scripts.patch
===================================================================
--- trunk/server/common/patches/httpd-suexec-scripts.patch	(revision 1354)
+++ trunk/server/common/patches/httpd-suexec-scripts.patch	(revision 1355)
@@ -271,5 +271,5 @@
          (gid != dir_info.st_gid) ||
          (uid != prg_info.st_uid) ||
-@@ -576,16 +690,33 @@
+@@ -576,12 +690,14 @@
                  prg_info.st_uid, prg_info.st_gid);
          exit(120);
@@ -287,5 +287,8 @@
          exit(121);
      }
- 
+@@ -614,6 +730,20 @@
+     /*
+      * Execute the command, replacing our image with its own.
+      */
 +    if (is_static_extension(cmd)) {
 +        argv[2] = STATIC_CAT_PATH;
@@ -302,6 +305,5 @@
 +        exit(255);
 +    }
-+
- #ifdef AP_SUEXEC_UMASK
-     /*
-      * umask() uses inverse logic; bits are CLEAR for allowed access.
+ #ifdef NEED_HASHBANG_EMUL
+     /* We need the #! emulation when we want to execute scripts */
+     {
