RewriteEngine on
RewriteCond %{HTTP:UPGRADE} ^websocket$ [NC,OR]
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
RewriteRule .* ws://mdwp.univ.fr:20040%{REQUEST_URI} [P,L]
ProxyPreserveHost on
ProxyRequests Off
ProxyVia Off
# AJP vers Tomcat
ProxyPass / ajp://mdwp.univ.fr:20049/ |