Project

General

Profile

[Solved] envionment variables in mod_wstunnel

Added by hwang over 6 years ago

Hi,

I'm trying to use the mod_wstunnel to redirect WebSocket traffic to a local socket server. It works well until I realized additional information is needed for the WebSocket server, such as cookies, remote address etc to determine if the incoming connection should be accepted. These things are dynamic so I can't put them into config files.
Is there a way to let an external program (via FCGI for example) decide if a WebSocket connection should be accepted? Or how could the socket sever get the same environment variables like in a libfcgi program?

Thanks.


Replies (2)

RE: [Solved] envionment variables in mod_wstunnel - Added by hwang over 6 years ago

Thanks for your information. I will take a look into that.

    (1-2/2)