![]() |
||||||||||||||||||||||||||||||||||||||||||
Comparing Apache and Internet Information Server December 4, 2000
Since the introduction of version 1.0 in December 1995, the Apache Web server has been very well received, and its use has grown steadily ever since. According to the Netcraft Web server survey, Apache runs on about 60 percent of all public Web servers (15 million public Web sites in total), while IIS runs on only 21 percent of all public Web sites (see note below). Besides the fact that Apache is free if you download the software, the other major difference between IIS and Apache is that the source for Apache is freely available. The free source model has spurred the development of Apache functions from many volunteer programmers (and recently from IBM), resulting in a fairly rapid pace of functional enhancements. In addition, Apache is modular in structure, permitting Apache users to pick and choose modules to fit their requirements. By comparison, your ability to customize IIS functionality is limited. Apaches freely available source has also produced fairly quick bug fixes. Overall, Apaches development model has resulted in a robust, reliable Web server.On the other hand, IIS is typical of many Microsoft Windows-based products. It supports the Windows GUI and provides integration with other Windows mechanisms, such as Active Directory, MS SQL Server and Windows Security services. IIS also leverages the benefits of COM+. On the downside, IIS requires additional Microsoft products, such as Windows 2000 or Active Directory. This dependency causes a worry of potential lock in to Microsoft products and strategy for some companies. Standards support is very important in many government contracts and procurements. The following table summarizes the standards support implemented by Apache and IIS.
A major difference between Apache and IIS is their prerequisites. While Apache is available for many Unix versions, Linux, Windows and OS/2, IIS can run only in the Windows environment. Whats more, the latest version of IIS will run only on Windows 2000 server.
Both Apache and IIS provide many built-in administration functions. These functions include:
Unlike Apache, IIS provides GUI support for server administration. One of the projects under the auspices of the Apache Software Foundation is to develop a graphical configuration tool for Apache. Additional information on this project, including a mailing list, can be found at http://gui.apache.org/. GUI-based and browser-based administration products are also available from third parties for Apache. One such product is the Plesk Server Administrator from Plesk. Besides administrative GUI support, IIS also provides the ability to administer one or more IIS Web servers from a Web browser. IIS also provides some common administration functions available with other Microsoft products, such as a setup wizard and unattended/remote setup and maintenance. IIS even provides integration with Windows operating system functions such as directory services, backup and restore of IIS configuration information and the Windows performance monitor (to view IIS performance data). Both Apache and IIS can write to multiple logs using standard and extended log formats (from the W3C) and can even support custom logging. Both products permit logging to text files. Both products also let you automatically close an aging log file and open a new file based on elapsed time. Here again, IIS provides better integration with Windows OS facilities. For example, IIS can write file security and application events to the Windows event log, which can then be viewed using standard Windows tools, such as Event Viewer. IIS also provides logging to any ODBC database. In fact, multiple IIS servers can log to a single ODBC database. Logging to an ODBC database in Apache is possible, but only through an add-on. Likewise, modules are available outside the official Apache distribution that provide log file analysis, data distribution and so on. Both Apache and IIS support basic security features out of the box. These include:
However, IIS provides the ability to integrate Web server security with Windows security features. For example, Windows supports ACLs (access control lists), which IIS can use to administer Web server security. Moreover, Windows 2000 can store its ACLs in Active Directory and support authentication using digital certificates (such as those that conform to the X.509 certificate standards). IIS can then leverage these security mechanisms directly. Both IIS and Apache provide isolation between different Web client access requests. Apache, in its current standard distribution, forks processes in response to incoming Web client requests. This approach tends to be more resource-intensive than spawning threads within a process, which is the approach adopted by IIS. However, thread support will be one of the main enhancements to arrive with Apache 2.0. Content Management Considerations Both Apache and IIS provide functions for content management, such as:
Additionally, IIS provides Windows-style tools, such as HTML page and site wizards as well as HTML templates. With its tight Windows integration, IIS can also provide enhanced file system security. Conclusion and Other Alternatives If you run a Windows-centric environment, and you prefer the service and support offered by Microsoft, your natural choice should be IIS. If you run a cost-conscious, heterogeneous environment, and you have a staff with Web server expertise, your natural choice should be Apache. Although weve been discussing IIS and Apache, there are other options you should be aware of. For example, if you prefer service and support from a commercial vendor, you do not want to be locked into a Microsoft solution, and you have a Java-rich environment, your natural choice should be iPlanet from Netscape. If you prefer Apache but want additional modules not included in the base distribution and want service and support from a commercial vendor, consider solutions such as WebSphere from IBM. Comments on this article? Please send them to Raj Rajagopal at rajagop@mitre.org References See our recent preview of Apache 2.0. Useful Web sites:
| ||||||||||||||||||||||||||||||||||||||||||
Best of the Web
Data deduplication: Declawing the clones
Data deduplication is emerging as a critically important new arrow in the storage administrator's quiver to answer hard questions about the increasing problem in storage growth costs.
Compression, Encryption, Deduplication, and Replication: Strange Bedfellows
One of the great ironies of storage technology is the inverse relationship between efficiency and security: Adding performance or reducing storage requirements almost always results in reducing the confidentiality, integrity, or availability of a system.
WAN Optimization Whitelists and Blacklists
Optimization is a fantastic way of saving money and creating really happy customers at the same time, but it doesn't work flawlessly for all applications.
WAN Optimization as a Managed Service: It's Not About the Cost
This insight examines how organizations outsourcing their WAN optimization initiatives to a third-party go about achieving their goals for application performance, reducing operational costs, and streamlining enterprise infrastructure.





