@mttprvst13 It probably failed because you don't have mod_rewrite enabled.
Do
a2enmod rewrite
systemctl restart apache2
@mttprvst13 It probably failed because you don't have mod_rewrite enabled.
Do
a2enmod rewrite
systemctl restart apache2
Here's a slimmed down version of the Apache config we use at forums.fogproject.org
<VirtualHost *:80>
ServerName XXX.XXX.XXX.XXX
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/socket.io [NC]
RewriteCond %{QUERY_STRING} transport=websocket [NC]
RewriteRule /(.*) ws://127.0.0.1:4567/$1 [P,L]
ProxyPassReverse /socket.io ws://127.0.0.1:4567/socket.io
RewriteCond %{REQUEST_URI} ^/ [NC]
RewriteRule ^/(.*)$ http://127.0.0.1:4567/$1 [P,L]
ProxyPassReverse / http://127.0.0.1:4567/
</VirtualHost>
Just change the ServerName and any references to the 4567 port.
ServerName localhost
/etc/hosts
there is a line that says 127.0.0.1 localhost