APACHE

download APACHE

If you can't read please download the document

Transcript of APACHE

  • 1. :APACHE
    • Apache is generally recognized as the world's most popularWeb server (HTTP server).Originally designed for Unixservers, the Apache Web server has been ported to Windowsand othernetwork operating systems (NOS) .
  • 2. The name "Apache" derives from the word "patchy" that theApache developers used to describe early versions of theirsoftware.

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 SoftwareFoundation. 6. The Apache Software Foundation promotes various free andopen source advanced Web technologies. 7.

  • HTTP

8. IIS 9. SSL Apache Web Server 10. HTTP

  • 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 anetwork protocolthat software must implement. 12. HTTP is an application layer network protocol built on top ofTCP . 13. HTTP clients (such as Web browsers) and servers communicate via HTTP request and response messages. 14. The three main HTTP message types are*GET* POST *HEAD

  • HTTP utilizes TCP port 80 by default, though other ports such as 8080 can alternatively be used.

15.

  • IISInternet Information Server
  • 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. 20. SSL - Secure Sockets Layer

  • 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. 23. HOW TO CONFIGURE APACHE

  • One aspect of Apache that some site administrators find confusingespecially those unfamiliar with UNIX-style softwareis 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. 25. Configuration Files

  • 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:httpd.conf for general settingssrm.conf for resource settingsaccess.conf for security settings

  • 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. 28. Inside Httpd.conf

  • 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,

but they contain no settings and are empty except for some comments.

  • 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 31.

  • 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 calleddirectives ), but for most of these, modifications are optional. Probably the most useful of these entries is ServerAdminit 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: 35. ServerAdmin [email protected] 36. Access and Security Settings I

  • 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:AccessConfig /dev/null ResourceConfig /dev/null 39. Conclusion

  • 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.