0943f8
Index: modules/mappers/mod_rewrite.c
0943f8
===================================================================
0943f8
--- a/modules/mappers/mod_rewrite.c	(revision 1499025)
0943f8
+++ b/modules/mappers/mod_rewrite.c	(revision 1528556)
0943f8
@@ -589,6 +589,18 @@
0943f8
             return 7;
0943f8
         }
0943f8
         break;
0943f8
+
0943f8
+    case 'w':
0943f8
+    case 'W':
0943f8
+        if (!strncasecmp(uri, "s://", 4)) {        /* ws://     */
0943f8
+            *sqs = 1;
0943f8
+            return 5;
0943f8
+        }
0943f8
+        else if (!strncasecmp(uri, "ss://", 5)) {  /* wss://    */
0943f8
+            *sqs = 1;
0943f8
+            return 6;
0943f8
+        }
0943f8
+        break;
0943f8
     }
0943f8
 
0943f8
     return 0;