Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Does Apache 2.4.37 support websockets?

    Posted on

    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

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat