Apache and IIS server coexistence issues-from online content

Source: Internet
Author: User

1.apache Main support PHP IIS mainly support ASP static Web page they all support into the HTM,
Port conflict, you can change the port of one of the servers to achieve the port avoidance,
IIS Right-click on "My Computer" "manage" "services and Applications" Internet Information Services "Web site" to change the properties of the site in the port can be, the default port is 80, modified after the IP or domain name after the access to add ":(port)" can be, For example, your IP is: 127.0.0.1 modified port is 88 to access the address is 127.0.0.1:88
Apache words in the Conf subfolder under the Apache folder to open the httpd.conf file in Notepad to find the Listen Gen 80 is OK, but to restart the Apache service, method right click on "My Computer" "Management" "services and Applications" Service "Select Apache and then right-click" Restart ", access is also to":(New port) "
Apache is characterized by all the property settings are set in the httpd.conf, after the installation must restart the Apache service, changes will take effect. Port modification of the meaning, I was using both IIS and Apache to play, so two ports can ensure that two servers can be normal use (because the default port after installation is 80), the other servers are similar, the deeper meaning, I also say, we are interested to communicate with each other, Can give me Baidu account message Ah!

2.IIS Publish directory changes very simple right-click on "My Computer" "manage" services and applications "Internet Information Services" Web site "Properties" in "Home Directory" "Local Path" modification can be, Apache is httpd.conf <directory " The path you want "> such as <directory" e:/appserv/www "> Remember to change the" restart "Apache service,
Apache does not have a console like IIS, it is a httpd.conf file to set parameters, a bit like. dll files and. css files (This is my understanding, there is a wrong place, please correct me.) )

3. Homepage modification, IIS or in just said to modify inside, you can put IIS point to the folder name you want the home page file named index.htm or in the IIS Web site properties (just modify the port in the window) "Add" the filename of the homepage you want "with suffix", The newly added file name is then set to the first one.
Apache words or modify httpd.conf after DirectoryIndex can add a new home page name, also put to the first, he and the second file name is separated by a space,
such as: index.php index.html
Of course it is recommended to modify the required page name to index.htm or index.php most direct

Apache and IIS server coexistence issues-from online content

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.