dimanche 8 mars 2015

Trouble implementing node and apache in same server

I tried to get my node app running along with apache this. I have added the following line



ProxyPass /node http://localhost:9000/
ProxyPassReverse /node http://localhost:9000/


and also



LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


My domain name is example.org . I have got the app running on example.org:9000 but I want it running on something like example.org/node . I get "apache 404 error" for example.org/node . What should I add in my code to achieve this. Any help is appreciated.


Aucun commentaire:

Enregistrer un commentaire