Downstream proxy with no encryption

In this configuration, a source system calls the proxy, which transmits the request unchanged to the destination URL. The reply follows the opposite path unencrypted.

Use the following Apache configuration building block.

#Disable forward proxying for security purposes
ProxyRequests Off

 #The reverse proxy listens to the source system on the reverse proxy port.
Listen $PROXY_PORT_NUMBER_HERE

 <VirtualHost *:$PROXY_PORT_NUMBER_HERE>
  <Proxy *>
    Order Deny,Allow
    Deny from all

     # The Virtual Host accepts requests only from the source system
    Allow from $SourceSystem
  </Proxy>

   # The Virtual Hosts associates the packet to the destination URL
  ProxyPass $SOURCE_URL $DESTINATION_URL

   #Logs redirected to appropriate location
  ErrorLog $ApacheErrorLog 

 </VirtualHost>

Replace the $SOURCE_URL value with the source URL. To redirect all HTTP traffic on all URLs on the source IP address and port, use the string “/”, which is just the forward slash, with no quotes around it.

Replace the $DESTINATION_URL value with the destination domain name or URL.