httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55598] mod_write unable to proxy websocket URIs
Date Tue, 16 Feb 2016 14:57:03 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=55598

--- Comment #5 from Alexey <lexxsmith@gmail.com> ---
(In reply to Chris Harris from comment #4)
> Not sure what the process for backport to 2.2 is, but it seem unlikely I
> think.
Ok, thank you,

Just wonder, will this broke current mod_rewrite in any case?

    case 'w':
    case 'W':
        if (!strncasecmp(uri, "s://", 4)) {        /* ws://     */
            return 5;
        }
        else if (!strncasecmp(uri, "ss://", 5)) {  /* wss://    */
            return 6;
        }
        break;
    }

I suppose not and want to build mod_rewrite.rpm just for that needs. (proxy-ing
websockets dynamically )

# simply and easy rule like would work ( i checked it, and any variations )
RewriteRule ^websockify/([^/]+)/([^/]+) wss://$1:$2/websockify [P]

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message