Definition: HTTP - the Hypertext Transfer Protocol - provides a standard for Web browsers and servers to communicate. The definition of HTTP is a technical specification of a network protocol that software must implement. HTTP is an application layer network protocol built on top of TCP . HTTP clients (such as Web browsers) and servers communicate via HTTP request and response messages. The three main HTTP message types are GET, POST, and HEAD. HTTP utilizes TCP port 80 by default, though other ports such as 8080 can alternatively be used.
1. : APACHE <ul><li>Apache is generally recognized as the world's most popular Web server (HTTP server).Originally designed for Unix servers, the Apache Web server has been ported to Windows and other network operating systems (NOS) .
2. The name "Apache" derives from the word "patchy" that the Apache developers used to describe early versions of their software.
3. Apache also supports plug-in modules for extensibility.
4. Apache is reliable, free, and relatively easy to configure.
5. Apache is free software distributed by the Apache Software Foundation.
6. The Apache Software Foundation promotes various free and open source advanced Web technologies. </li></ul>
9. SSL </li></ul>Apache Web Server
10. HTTP <ul><li>Definition: HTTP - the Hypertext Transfer Protocol - provides a standard for Web browsers and servers to communicate.
11. The definition of HTTP is a technical specification of a network protocol that software must implement.
12. HTTP is an application layer network protocol built on top of TCP .
13. HTTP clients (such as Web browsers) and servers communicate via HTTP request and response messages.
14. The three main HTTP message types are </li></ul>* GET * POST * HEAD <ul><li>HTTP utilizes TCP port 80 by default, though other ports such as 8080 can alternatively be used. </li></ul>
15. <ul>IIS Internet Information Server <li>Definition: IIS is Microsoft's business-class Web server.
16. Although Apache boasts more total worldwide installations than IIS, many corporations choose IIS as their Web server because it is supported by a commercial organization.
17. Some have criticized IIS in the past, though, for its alleged security weaknesses.
18. IIS has improved over the years, supports many Web standards including SSL, and integrates well with other Microsoft Web technologies such as FrontPage.
19. An admininstrator can manage IIS through a graphical console, the Internet Services Manager. </li></ul>
20. SSL - Secure Sockets Layer <ul><li>Definition: SSL security technology helps to improve the safety of Internet communications. SSL is a standard for encrypted client/server communication between network devices.
21. A network protocol, SSL runs on top of TCP/IP. SSL utilizes several standard network security techniques including public keys, symmetric keys, and certificates.
22. Web sites commonly use SSL to guard private information such as credit card numbers. </li></ul>
23. HOW TO CONFIGURE APACHE <ul><li>One aspect of Apache that some site administrators find confusing especially those unfamiliar with UNIX-style software is its configuration scheme.
24. Instead of using a point-and-click graphic user interface (GUI) or Windows Registry keys as most other modern software packages, Apache generally relies on simple text files for its configuration settings. </li></ul>
25. Configuration Files <ul><li>Apache uses a system of three text files for managing its configuration data.
26. All three of these files (almost always) appear in Apache's ./conf directory and are designed to be edited by system administrators: </li></ul>httpd.conf for general settings srm.conf for resource settings access.conf for security settings <ul><li>When Apache first starts, these files are processed in the order shown above.
27. Originally, the initial installation of Apache included default entries within each of the three files. </li></ul>
28. Inside Httpd.conf <ul><li>httpd.conf is treated as the "master" configuration file and it contains all of the settings. Both srm.conf and access.conf still exist in the installation, </li></ul>but they contain no settings and are empty except for some comments. <ul><li>Traditionaly httpd.conf contained general settings such as the ServerName and Port number. These entries appear as follows in the file:
29. ServerName compnetworking.about.com
30. Port 80 </li></ul>
31. <ul><li>T he term "httpd" stands for HTTP Daemon. Recall that in a UNIX environment, the term daemon refers to a type of process designed to launch at system boot and continue running for very long periods of time.
32. The name doesn't make much sense on a Windows platform, but the concept of a UNIX daemon can be compared to the concept of Windows services.
33. The Windows port of Apache allows for installation as a Windows service but does not require it.
34. This file contains a number of other entries (technically called directives ), but for most of these, modifications are optional. Probably the most useful of these entries is ServerAdmin it allows the administrator to set the email address that will be displayed on error pages (such a "404 pages") in the client's browser, giving users a way to contact someone if a site problem occurs:
36. Access and Security Settings I <ul><li>It is recommended practice now for Apache administrators to manage their resource and security settings from httpd.conf.
37. Administrators of older versions of Apache can simply cut their entries from srm.conf and access.conf and paste them into the master file.
38. If an administrator wants to go one step further and delete the two empty files, they should also place the following entries in httpd.conf to prevent Apache from attempting to access them: </li></ul>AccessConfig /dev/null ResourceConfig /dev/null
39. Conclusion <ul><li>The family of .conf files supports most but not all of Apache's configuration options.
40. Other important mechanisms for managing an Apache Web server include the .htaccess file, the mime.types file, and the family of log files.
41. Look for discussion of these in a future article. </li></ul>