I have a php website(example.com) and node website running at localhost:8888. I need to forward all request coming to redirect all requests coming at example.com/newpath to my node website. I tried
<VirtualHost *:80>
ServerName example.com/path
ServerAlias www.example.com/path
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location />
ProxyPass http://localhost:8888/
ProxyPassReverse http://localhost:8888/
</Location>
</VirtualHost>
This works perfectly for subdomains. So if there is any way to get this done. Please help me. Sorry for my poor English. Thanks