Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493360 - >=www-servers/apache-2.4.5 - add support for mod_proxy_wstunnel (websocket proxy)
Summary: >=www-servers/apache-2.4.5 - add support for mod_proxy_wstunnel (websocket pr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-05 05:01 UTC by Andrew Mao
Modified: 2014-05-22 14:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Apache Ebuild with proxy_wstunnel support (apache-2.4.7-r1.ebuild,7.31 KB, text/plain)
2014-01-31 09:23 UTC, damage
Details
Diff against current apache-2.4.9-r2 (apache-2.4.9-r2.ebuild-add_wstunnel.patch,1.03 KB, patch)
2014-05-07 13:38 UTC, Bernard Cafarelli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Mao 2013-12-05 05:01:02 UTC
mod_proxy_wstunnel (http://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html) was added in Apache 2.4.5 and later. However, it isn't available to set in APACHE2_MODULES for any of the Gentoo ebuilds, which currently include 2.4.6 and 2.4.7.

This should be a fairly quick thing for the maintainer to fix. For example, mod_proxy_fcgi simply requires proxy_fcgi as part of APACHE2_MODULES. Since this proxy module is new, it was probably just overlooked.
Comment 1 Leho Kraav (:macmaN @lkraav) 2014-01-07 00:59:30 UTC
Sorry for piggybacking (maybe), but I just thought about filing the same request, but for 2.2 backport.

Work has already been done http://blog.cafarelli.fr/post/2013/04/26/Backporting-Apache-support-for-websockets-reverse-proxy-%28aka-getting-GateOne-to-work-behind-Apache%29

I'm running this in production on 2.2.25, works great. It'd be nice if I could get maintaining an apache ebuild in my overlay ;)
Comment 2 damage 2014-01-31 09:23:14 UTC
Created attachment 369190 [details]
Apache Ebuild with proxy_wstunnel support

5 min job with Andrew Maos guide ;)
Comment 3 damage 2014-01-31 09:25:39 UTC
(In reply to damage from comment #2)
> Created attachment 369190 [details]
> Apache Ebuild with proxy_wstunnel support
> 
> 5 min job with Andrew Maos guide ;)

BTW: apache-2.4.7-r1.ebuild
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-02-19 09:29:46 UTC
Please attach your changes as unified diff (diff -u) to the latest apache ebuild in our tree.
Comment 5 Bernard Cafarelli gentoo-dev 2014-05-07 13:38:50 UTC
Created attachment 376540 [details, diff]
Diff against current apache-2.4.9-r2

Here is my diff, working fine proxying GateOne webapp (though I had to change my Location sections order compared to 2.2 setup)
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-05-22 14:03:11 UTC
This was added to >=www-servers/apache-2.4.9-r3