Using apache Proxy to implement nat technology I configured iis websites and apache websites in the form of dual-LAN ip addresses on the server,
For example, if iis uses 192.168.3.114: 80 and apache uses 192.168.3.115: 80
So I want to use apache's reverse proxy to redirect the user to 192.168.3.115: 80 when accessing port 8080 of the Internet ip address.
How to write a VM?
Below are some of my own code. how can I change it? Please give me your opinion!
NameVirtualHost *
ServerName www.h.com
ProxyPass/http: // 192.168.3.115/
ProxyPassReverse/http: // 192.168.3.115/
Reply to discussion (solution)
Apache cannot be started. once the same port in a computer is occupied, it cannot be allocated to other programs unless the first program is closed and the second program is enabled.
================================
Follow your ideas
Solution
Apache assigns port 90
==============================
Also, you can divide the Internet and intranet. So there must be a vro. You can directly specify the IP port on the vro without a proxy.
1. if IIS and APZCHE are two different servers, and one of them is exposed in the outer network, you can leave it alone. ,
2. if IIS and apche are on the same intranet and the same server, but the server has multiple NICs, this can be solved in the way I mentioned above.
So. First, you need to clearly describe the environment.
======================================
1. if IIS and APZCHE are two different servers, and one of them is exposed in the outer network, you can leave it alone. ,
2. if IIS and apche are on the same intranet and the same server, but the server has multiple NICs, this can be solved in the way I mentioned above.
So. First, you need to clearly describe the environment.
======================================
Yes. one has configured static nat, and the other is a virtual host created on the local machine using apache. it has been assigned an ip address and port 80 is also used, access is available on the intranet. The environment is iis5.0 and windows server 2008.
Take a closer look
Set apache reverse proxy iis and multiple domain names
Coexistence of port 80 of apache Proxy IIS