Under Windows Server, IIS and Apache servers are installed, and how to make them work together.
The problem I am facing now is that there is only one IP address to access different programs through different ports.
The solution is as follows:
1, find Apache under Httpd.conf file. Take a few items to remove the comment
LoadModule Proxy_module modules/mod_proxy.so
LoadModule Proxy_connect_module modules/mod_proxy_connect.so
LoadModule Proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule Proxy_http_module modules/mod_proxy_http.so
# Virtual Hosts
Include conf/extra/httpd-vhosts.conf
2. Locate the httpd-vhosts.conf file and add the following content
<virtualhost *:80>
ServerName "Domain Name"
PROXYPASS/HTTP://IP Address: 801/
PROXYPASSREVERSE/HTTP://IP Address: 801/
ServerAdmin [email protected]
</VirtualHost>
The above sentence means: When the outside access to port 80, through the Apache agent, will be access to other servers.
3. Then restart the Apache server
IIS coexistence with Apache under Windows