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