Apache and Node.js on the Same Server

前端 未结 10 1545
青春惊慌失措
青春惊慌失措 2020-11-22 06:11

I want to use Node because it\'s swift, uses the same language I am using on the client side, and it\'s non-blocking by definition. But the guy who I hired to write the pro

10条回答
  •  醉酒成梦
    2020-11-22 07:12

    ProxyPass /node http://localhost:8000/     
    
    • this worked for me when I made above entry in httpd-vhosts.conf instead of httpd.conf
    • I have XAMPP installed over my environment & was looking to hit all the traffic at apache on port 80 with NodeJS applicatin running on 8080 port i.e. http://localhost/[name_of_the_node_application]

提交回复
热议问题