Add sample httpd conf for etherpad

master
Daniel Berteaud 11 years ago
parent 75c683b8b4
commit e8f4df2d9a
  1. 11
      conf/httpd_alias.conf
  2. 12
      conf/httpd_vhost.conf

@ -4,6 +4,17 @@
</IfModule>
ProxyPass /socket.io/ http://localhost:8888/socket.io/
ProxyPassReverse /socket.io/ http://localhost:8888/socket.io/
# Etherpad example
# If you install etherpad on the same box, listening on its default
# port (9001) and want it to be accessible on /etherpad/
# <IfModule mod_proxy_wstunnel.so>
# ProxyPass /etherpad/socket.io/1/websocket ws://localhost:9001/socket.io/1/websocket
# ProxyPassReverse /etherpad/socket.io/1/websocket ws://localhost:9001/socket.io/1/websocket
# </IfModule>
# ProxyPass /etherpad/ http://localhost:9001/
# ProxyPassReverse /etherpad/ http://localhost:9001/
AliasMatch ^/vroom/([a-z]{2}/)?(\d{10}/)?((js|css|img|fonts|snd)/.*) /opt/vroom/public/$3
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f

@ -14,6 +14,18 @@
</IfModule>
ProxyPass /socket.io/ http://localhost:8888/socket.io/
ProxyPassReverse /socket.io/ http://localhost:8888/socket.io/
# Etherpad example
# If you install etherpad on the same box, listening on its default
# port (9001) and want it to be accessible on /etherpad/
# <IfModule mod_proxy_wstunnel.so>
# ProxyPass /etherpad/socket.io/1/websocket ws://localhost:9001/socket.io/1/websocket
# ProxyPassReverse /etherpad/socket.io/1/websocket ws://localhost:9001/socket.io/1/websocket
# </IfModule>
# ProxyPass /etherpad/ http://localhost:9001/
# ProxyPassReverse /etherpad/ http://localhost:9001/
AliasMatch ^/([a-z]{2}/)?(\d{10}/)?((js|css|img|fonts|snd)/.*) /opt/vroom/public/$3
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f

Loading…
Cancel
Save