node.js and apache
I've tried so many things. ProxyPass is my latest attempt.
Activated
a2enmod proxy
a2enmod proxy_http
a2enmod vhost_alias
Tried this tutorial (without the nginx) to install node (which I think works)
edited /etc/apache2/apache2.conf
to include:
ProxyPass /DIRECTORY
LoadModule proxymodule modules/modproxy.so
LoadModule proxyhttpmodule modules/modproxyhttp.so
opened up port 3000 on the firewall.
Visiting the test js script I get the actual js output
visiting the test js script and placing port :300 in the url I get
Error: ENOENT, 'open '/var/www/hello.js:3000'
Any help is greatly appreciated. Thank you.