I have a non-apache server running on http://10.0.0.1:9000. My Apache server is running on 127.0.0.1:8000. I want Apache to reverse proxy all requests to the url /app/ and pass it on to http://10.0.0.1:9000. The following is my configuration.
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /app/ http://10.0.0.1:9000/
ProxyPassReverse /app/ http://10.0.0.1:9000/
I just can't seem to get it working. No requests are being forwarded. Not sure if I need more configurations. I don't wish to redirect just proxy it.
Thanks in advance!
ProxyRequests Off
is not necessary. And you probably needProxyPass /app/ http://10.0.0.1:9000/app/
. And are you sure you needProxyPassReverse
? Aside from that, can you post the access/error log entries of what happens when you do make a request, of both servers?ProxyRequests Off
isn't necessary, per se, but it is recommended to set it for security purposes, despiteOff
being the default value.