Does Apache 2.4.37 support websockets?

Latest response

Hello Red Hat administrators,

My questions is as follows:
Does Apache 2.4.37 support websockets?

With websockets I mean the following Apache code:
RewriteEngine On
RewriteCond %{HTTP:Connection} Upgrade [NC]
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /(.*) ws://[domain.com]:3000/$1 [P,L]

The reason is that I need to use this code in order to run OpenVSCode* correctly behind a reverse proxy.

According to an issue on a forum I need to upgrade to version 2.4.48, but I can't because Red Hat Enterprise Linux 8.5 only support 2.4.37.

Is it true that there is an issue with websockets and Apache 2.4.37, and I need to upgrade?
If this is true, is there a workaround (because I can't upgrade Apache)

Yours sincerely,

Jeroen Verhoeckx

OpenVSCode: https://github.com/gitpod-io/openvscode-server

Responses