We are attempting to use our Apache 2.2.14 server as a passthrough proxy for some of our clients.
I need to redirect the URL
http://our.server.com/stlouis to a server on another (remote) network.
Following is what I am attempting to use to rewrite the URL.
Code:
<IfModule rewrite_module>
RewriteLog "/var/log/rewrite.log"
# RewriteLogLevel 3
RewriteEngine On
RewriteRule https://our.server.com/stlouis http://remote.server.com/feed/aJrjesEeEU-lWKMOCwnaYw?take=6&league=NFL [P,QSA]
</IfModule>
My understanding is RewriteRule must be used because I do not want the query string to be encoded when it is sent to the remote server.
mod_rewrite and mod_proxy are loaded.
I am sure this is something simple I am overlooking.
Thank you in advance for your assistance and any suggestions are greatly appreciated.
Jay