Apache ppt


Published on

Published in: Education
1 Comment
1 Like
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Apache ppt

  1. 1. APACHE <ul><li>An open source web server. Mostly for Unix, Linux and Solaris platforms
  2. 2. Apache is the most popular web server on the net.
  3. 3. It is very secure, fast, and reliable.
  4. 4. The name &quot;Apache&quot; derives from the word &quot;patchy&quot; that the Apache developers used to describe early versions of their software. </li></ul>
  5. 5. <ul><ul><ul><ul><li>FEATURES </li></ul></ul></ul><li>Implements many frequently requested features, including:
  6. 6. DBM databases for authentication
  7. 7. Customized responses to errors and problems
  8. 8. Virtual Hosts
  9. 9. Multiple DirectoryIndex directives
  10. 10. It has been tested thoroughly by both developers and users. </li></ul>
  11. 11. APACHE WEB SERVER <ul><li>It provides a full range of Web server features, including CGI, SSL, and virtual domains.It also supports plug-in modules for extensibility. </li></ul>
  12. 12. <ul>The Apache Web Server has <li>HTTP
  13. 13. IIS
  14. 14. SSL
  15. 15. The Apache Web server has been ported to Windows and other network operating systems (NOS). </li></ul>The Apache HTTP Server is web server software notable for playing a key role in the initial growth of the World Wide Web.
  16. 16. <ul><li>HTTP is an Hypertext Transfer Protocol.
  17. 17. It provides a standard for Web browsers and servers to communicate.
  18. 18. The definition of HTTP is a technical specification of a network protocol that software must implement.
  19. 19. HTTP is an application layer network protocol built on top of TCP. </li></ul>HTTP
  20. 20. <ul><li>HTTP clients (such as Web browsers) and servers communicate via HTTP request and response messages.
  21. 21. The three main HTTP message types are
  22. 22. GET, POST, and HEAD .
  23. 23. HTTP utilizes TCP port 80 by default
  24. 24. Though other ports such as 8080 can alternatively be used. </li></ul>
  25. 25. <ul>The HTTP also includes <li>ARP-Address Resolution Protocol
  26. 26. DHCP-Dynamic Host Configuration Protocol
  27. 27. FTP-File Transfer Protocol </li></ul>
  28. 28. <ul>ARP <li>ARP converts an Internet Protocol (IP) address to its corresponding physical network address.
  29. 29. ARP is a low-level network protocol, operating at Layer 2 of the OSI model.
  30. 30. ARP is implemented usually in the device drivers of network operating systems.
  31. 31. It is most commonly seen on Ethernet networks, ATM, Token Ring, and other physical networks. </li></ul>
  32. 32. DHCP <ul><li>DHCP allows a computer to join an IP-based network without having a pre-configured IP address.
  33. 33. DHCP is a protocol that assigns unique IP addresses to devices, then releases and renews these addresses as devices leave and re-join the network. </li></ul>
  34. 34. FTP <ul><li>FTP allows you to transfer files between two computers on the Internet.
  35. 35. FTP is a simple network protocol based on Internet Protocol. </li></ul>
  36. 36. SSL <ul><li>Secure Sockets Layer
  37. 37. SSL security technology helps to improve the safety of Internet communications.
  38. 38. SSL is a standard for encrypted client/server communication between network devices.
  39. 39. A network protocol, SSL runs on top of TCP/IP. </li></ul>
  40. 40. <ul><li>SSL utilizes several standard network security techniques including public keys, symmetric keys, and certificates. Web sites commonly use SSL to guard private information such as credit card numbers. </li></ul>
  41. 41. CONFIGURATION 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.
  42. 42. Configuring Files Apache uses a system of three text files for managing its configuration data. All three of these files (almost always) appear in Apache's ./conf directory and are designed to be edited by system administrators: <ul><li>httpd.conf for general settings
  43. 43. srm.conf for resource settings
  44. 44. access.conf for security settings </li></ul>
  45. 45. <ul><li>In the most recent versions of Apache, the default installation has changed.
  46. 46. The httpd.conf is treated as the &quot;master&quot; configuration file and it contains all of the settings.
  47. 47. Both srm.conf and access.conf still exist in the installation, but they contain no settings and are empty except for some comments.
  48. 48. Like many UNIX-style programs, Apache will not re-read the .conf files after the Web server starts running.
  49. 49. After making changes, an administrator must restart Apache for the new settings to take effect. </li></ul>
  50. 50. <ul><ul><ul><ul><li>Inside Httpd.conf </li></ul></ul></ul></ul><ul><li>The httpd.conf contained general settings such as the ServerName and Port number.
  51. 51. These entries appear as follows in the file:
  52. 52. ServerName compnetworking.about.com Port 80
  53. 53. The term &quot;httpd&quot; stands for HTTP Daemon . </li></ul>
  54. 54. <ul><li>This file contains a number of other entries (technically called directives), but for most of these, modifications are optional.
  55. 55. 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 &quot;404 pages&quot;) in the client's browser, giving users a way to contact someone if a site problem occurs: </li></ul>ServerAdmin compnetworking.guide@about.com
  56. 56. Running Apache <ul><li>Apache does not run from the inetd super server as many other network servers do.
  57. 57. It is configured to run standalone for better performance for incoming HTTP requests from client web browsers.
  58. 58. A shell script wrapper is included to make starting, stopping, and restarting the server as simple as possible.
  59. 59. To start up Apache for the first time, just run:
  60. 60. # /usr/local/sbin/apachectl start </li></ul>
  61. 61. <ul><li>You can stop the server at any time by typing:
  62. 62. # /usr/local/sbin/apachectl stop
  63. 63. After making changes to the configuration file for any reason, you will need to restart the server:
  64. 64. # /usr/local/sbin/apachectl restart
  65. 65. To restart Apache without aborting current connections, run:
  66. 66. # /usr/local/sbin/apachectl graceful </li></ul>
  67. 67. *The family of .conf files supports most, but not all of Apache's configuration options. *Other important mechanisms for managing an Apache Web server include the <ul><li>. htaccess file,
  68. 68. the mime.types file,
  69. 69. and the family of log files. </li></ul>
  70. 70. Thank You