Event Timeline
Comment Actions
The above did not work for me. The following did:
# Load PHP. LoadModule php7_module lib/httpd/mod_php7.so <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> LoadModule rewrite_module lib/httpd/mod_rewrite.so # Needed in order to proxy websockets connection for Phabricator's aphlict. LoadModule proxy_module lib/httpd/mod_proxy.so LoadModule proxy_wstunnel_module lib/httpd/mod_proxy_wstunnel.so ProxyRequests Off <VirtualHost *> ServerName phabricator.foo.bar DocumentRoot /opt/phacility/phabricator/webroot RewriteEngine on # Rewrite everything except for the websocket location. RewriteCond %{REQUEST_URI} !^/ws/ RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA] <Location "/ws/"> ProxyPass ws://127.0.0.1:22280/ws/ nocanon </Location> <Directory "/opt/phacility/phabricator/webroot"> Require all granted </Directory> </VirtualHost>