The following steps will help you setup your Apache 2 proxy server so that you can receive requests from Apache using HTTP proxy protocols.
You can use any Apache 2 server to connect to the Apache web server.
You should also ensure that your server is configured to forward requests to your server’s IP address.
Apache 2 can also be configured to accept HTTP requests by default.
If you are using Apache 2 as a web server, it may also be appropriate to configure Apache to listen on port 80.
If not, you can configure your server to forward to port 443.
To configure Apache2 as a proxy server in Windows, see Configuring Apache as a Proxy Server in Windows Server 2012.
Note For more information about how to configure an Apache 2 Server, see Installing and Configuring an Apache2 Server in Server Manager.
Open a command prompt and navigate to the following directory: C:\Program Files\Apache2\apache2.exe.
In this directory, open a command: Start the Apache2 command prompt by double-clicking it in the Start menu.
In the Server Manager console, expand the Apache folder and click on the Apache directory in the list of subdirectories.
On the left pane, expand “Default Proxy Server” and click Add Proxy Server.
On this page, you will see a list of supported proxy servers.
If there is a server in the List of Servers dialog box, you must select the server to configure the proxy server.
For more help, see How to Configure the Apache Server.
Select the server you want to configure, click Add and then click OK.
Click OK to close the dialog box.
Now you will be prompted to create a new directory named “Default”.
For example, if you want Apache to be configured as a default server, open the Start Menu and click Start.
The Start menu will open and the Windows Control Panel will open.
Right-click on the Server name that you have chosen and choose Properties.
In System Properties, click on Administrative Templates and then on the Default administrative template.
The Administrative Template is a list that you should select.
You will see an additional template called Default Proxy Server and then you can click on it to open the default administrative template for that server.
In these default administrative templates, you should ensure that the IP address that you set in the Proxy Server Configuration dialog box is the IP that Apache is listening on.
If the IP addresses are not the same, the IP settings will not be used.
For example: If you select the IP Address field, the Proxy server configuration dialog box will ask you for the IP of the server that you are configuring.
Click on Yes to continue.
If this is the first time you have used the Proxy configuration dialog boxes, you need to select Yes again.
If that is the second time you use the Proxy Configuration dialog boxes for this server, you may need to click on Yes again, but this time, you only need to enter the IP information for the server.
The Proxy Server Information dialog box opens.
On its left pane are the following options: Set proxy server name and server IP address Set the proxy name and the IP and port number that Apache will use to listen to requests.
Set the server IP and Port number to the IP, port number, and port numbers of the proxy servers that you want configured.
Specify the IPs of the HTTP proxy servers for which you want the HTTP Proxy Server to be used (the IPs are listed in the “HTTP Proxy Server Options” dialog box).
For more details, see Proxy server settings.