websockets draft 76
Posted by: guepard (---.43.165.107.dyn.user.ono.com)
Date: September 04, 2010 10:55AM

Chrome 6 use websockets protocol 76, but Wamp use protocol 75. ¿How can we update Wamp for use this protocol?



Edited 1 time(s). Last edit at 09/04/2010 10:55AM by guepard.

Options: ReplyQuote
Re: websockets draft 76
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: September 04, 2010 12:19PM

you need to get a copy of "mod_websocket.so" (you may need to build from source)

put it into the modules folder in the apache folder.

and add this to the httpd.conf

--------------------------------------------------------------------

LoadModule websocket_module modules/mod_websocket.so

<IfModule mod_websocket.c>
<Location /echo>
SetHandler websocket-handler
WebSocketHandler modules/mod_websocket_echo.so echo_init
SupportDraft75 On
</Location>
</IfModule>

--------------------------------------------------------------------

if you dont need 75 anymore just delete the line SupportDraft75 On

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: websockets draft 76
Posted by: guepard (---.43.165.107.dyn.user.ono.com)
Date: September 04, 2010 05:13PM

Very thanks.

I found mod_websocket.c (http://github.com/disconnect/apache-websocket) but...
I think I need apxs for convert to .so but I can't find it for windows...



Edited 19 time(s). Last edit at 09/05/2010 12:29AM by guepard.

Options: ReplyQuote
Re: websockets draft 76
Posted by: martinkoell (---.dynamic.xdsl-line.inode.at)
Date: January 08, 2011 07:46PM

Hi there!
I installed the apache2 mods with sudo apxs2 -i -a -c mod_websocket.c
but there is no "/usr/lib/apache2/modules/mod_websocket_echo.so" which is related in the httpd.conf for tracing websocket requests.

where is the file?

Error of Apache2 while starting:
Syntax Error on line 5 of /etc/apache2/httpd.conf
"Could not open WebSocket handler module"

Here is my httpd.conf:
-------------------------------------------
<IfModule mod_websocket.c>
<Location /echo>
SetHandler websocket-handler
WebSocketHandler /usr/lib/apache2/modules/mod_websocket_echo.so echo_init
</Location>
</IfModule>
-------------------------------------------

Options: ReplyQuote


Sorry, only registered users may post in this forum.