100 points for a detailed solution to the coexistence of the IIS environment with the WAMP environment!

Source: Internet
Author: User
100 points for a detailed solution to the coexistence of the IIS environment and the WAMP environment!!
We use the WIN2003 server, the boss wants IIS and Wamp to be able to use the 80 port together, do not stop IIS, or the port and other scenarios, can be accessed through the normal URL. Thank you!!!


I am now running in the IIS environment, Apache can run alone (for other ports), write on LoadModule php5_module "E:/phpweb/php/php5apache2_2.dll" Can not run, Online says open servername 127.0.0.1:8080 is useless


Log tips for this!!
[Tue Nov 05 10:17:47 2013] [Warn] PID file e:/phpweb/apache/logs/httpd.pid overwritten--unclean shutdown of previous Apache run?
Httpd.exe:Could not reliably determine the server ' s fully qualified domain name, using 183.90.186.84 for ServerName
[Tue Nov 05 10:17:53 2013] [Warn] PID file e:/phpweb/apache/logs/httpd.pid overwritten--unclean shutdown of previous Apache run?


Share to:


------Solution--------------------
A common 80-port network has a solution, is the trouble point, I have also experimented with, is Apache directly with 80 port, and then forwarded to other IIS port
------Solution--------------------
Single IP 80-port method, but not recommended, just use the Apache agent, Speed has an impact on Apache to use 80 port, IIS use other ports, such as 81, and then the Apache as the agent for IIS.

In httpd.conf, uncomment the following four lines:
LoadModule Proxy_module modules/mod_proxy.so
LoadModule Proxy_connect_module modules/mod_proxy_connect.so
LoadModule Proxy_http_module modules/mod_proxy_http.so
LoadModule Proxy_ftp_module modules/mod_proxy_ftp.so

Then set up a virtual host to turn all access for that domain name to port 81.

ServerName www.abc.com
proxypass/http://localhost:81/
proxypassreverse/http://localhost:81/

That's roughly it.
This is a single IP, if the multi-IP will be better
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.