blog:plex_virtual_hosting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blog:plex_virtual_hosting [2014/10/12 07:43] – [My solution] brettblog:plex_virtual_hosting [2019/12/13 21:18] (current) – [My solution] brett
Line 59: Line 59:
 The crucial piece of the puzzle is the QUERY_STRING conditional.  We do NOT want to redirect "/?something" into "/web?something" as this will screw things up. The crucial piece of the puzzle is the QUERY_STRING conditional.  We do NOT want to redirect "/?something" into "/web?something" as this will screw things up.
  
-The inclusion of the WebSocket proxying is also crucial for activity feedback.  This requires the mod_proxy_wstunnel.so module which is available with apache 2.4+The inclusion of the WebSocket proxying is also crucial for activity feedback.  This requires the mod_proxy_wstunnel.so module which is available with apache 2.4+
  
-As I was running CentOS 6.5 which only has apache 2.2.15 I had to compile this module up myself by following the instructions here: http://notmyitblog.blogspot.com.au/2014/03/websockets-support-for-apache-httpd.html+As I was running CentOS 6.5 x64 which only has apache 2.2.15 I had to compile this module up myself by following the instructions here: http://notmyitblog.blogspot.com.au/2014/03/websockets-support-for-apache-httpd.html
  
 +For your convenience the precompiled module {{:blog:mod_proxy_wstunnel.zip|}} which can be unzipped and dropped into /usr/lib64/httpd/modules you may need to chmod this to 755 after unzipping don't forget to enable this as well.
 +
 +Edit apache configuration to support websockets
 +<code>
 +# vi /etc/httpd/conf/httpd.conf
 +LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
 +</code>
 +
 +==== CentOS 7 ====
 +  * Disable SELINUX
 +  * Punch hole in firewall (or disable easier).
 +  * No need to install mod_proxy_wstunnel.
 ===== How it was debugged ===== ===== How it was debugged =====
  
  • blog/plex_virtual_hosting.1413099822.txt.gz
  • Last modified: 2014/10/12 07:43
  • by brett