SlideShare a Scribd company logo
APACHE -By  V.Gouthaman
The Apache HTTP Server, commonly referred to as Apache is web server software notable for playing a key role in the initial growth of the World Wide Web. In 2009 it became the first web server software to surpass the 100 million web site milestone. Apache was the first viable alternative to the Netscape Communications Corporation web server (currently known as Sun Java System Web Server), and has since evolved to rival other Unix-based web servers in terms of functionality and performance. The majority of web servers using Apache run a Unix-like operating system. Introduction
Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. The application is available for a wide variety of operating systems, including Unix, GNU, FreeBSD, Linux, Solaris, Novell NetWare, Mac OS X, Microsoft Windows, OS/2, TPF, and eComStation. Released under the Apache License, Apache is characterized as open source software. Since April 1996 Apache has been the most popular HTTP server software in use. As of February 2010[update] Apache served over 54.46% of all websites and over 66% of the million busiest.[4]
INSTALLING  APACHE
Download the setup file. Double-Click the Apache Executable and Get the Welcome Screen
Read the License Apache is released under the GPL license
Read the README File The readme file will have late breaking information including bugs
Provide Your Server Information This is the domain name and administrator for your server
Select the Setup type For selected installation custom setup or else go for typical installation...
Review Custom Options Click on the icon to change the feature of installation
You're Done with the Apache  web server Installation
APACHE  CONFIGURATION
Main Configuration  Files    Related Modules  Related Directives     mod_mime  AccessConfig   <IfDefine>   Include   ResourceConfig   TypesConfig
Apache is configured by placing directives in plain text configuration files. The main configuration file is usually called httpd.conf. The location of this file is set at compile-time, but may be overridden with the -f command line flag. Some sites also have srm.conf and access.conf files for historical reasons. In addition, other configuration files may be added using the Include directive. Any directive may be placed in any of these configuration files. Changes to the main configuration files are only recognized by Apache when it is started or restarted.
New with Apache 1.3.13 is a feature where if any configuration file is actually a directory, Apache will enter that directory and parse any files (and subdirectories) found there as configuration files. One possible use for this would be to add  VirtualHosts  by creating small configuration files for each host, and placing them in such a configuration directory. Thus, you can add or remove  VirtualHosts  without editing any files at all, simply adding or deleting them. This makes automating such processes much easier. The server also reads a file containing mime document types; the filename is set by the  TypesConfig  directive, and is  mime.types  by default.
Syntax of the Configuration Files Apache configuration files contain one directive per line. The back-slash &quot;\&quot; may be used as the last character on a line to indicate that the directive continues onto the next line. There must be no other characters or white space between the back-slash and the end of the line. Directives in the configuration files are case-insensitive, but arguments to directives are often case sensitive. Lines which begin with the hash character &quot;#&quot; are considered comments, and are ignored.
Comments may not be included on a line after a configuration directive. Blank lines and white space occurring before a directive are ignored, so you may indent directives for clarity. You can check your configuration files for syntax errors without starting the server by using apachectl configtest or the -t command line option.
  Modules   Related Modules  Related Directives     mod_so   AddModule   ClearModuleList   <IfModule>   LoadModule
Apache is a modular server. This implies that only the most basic functionality is included in the core server. Extended features are available through modules which can be loaded into Apache. By default, a base set of modules is included in the server at compile-time. If the server is compiled to use dynamically loaded modules, then modules can be compiled separately and added at any time using the  LoadModule  directive. Otherwise, Apache must be recompiled to add or remove modules. Configuration directives may be included conditional on a presence of a particular module by enclosing them in an  <IfModule>  block.     To see which modules are currently compiled into the server, you can use the -l command line option.
Scope of Directives Related Directives <Directory> <DirectoryMatch> <Files> <FilesMatch> <Location> <LocationMatch> <VirtualHost>
Directives placed in the main configuration files apply to the entire server. If you wish to change the configuration for only a part of the server, you can scope your directives by placing them in <Directory>, <DirectoryMatch>, <Files>, <FilesMatch>, <Location>, and <LocationMatch> sections. These sections limit the application of the directives which they enclose to particular filesystem locations or URLs. They can also be nested, allowing for very fine grained configuration.   Apache has the capability to serve many different websites simultaneously. This is called Virtual Hosting.
Directives can also be scoped by placing them inside <VirtualHost> sections, so that they will only apply to requests for a particular website.    Although most directives can be placed in any of these sections, some directives do not make sense in some contexts. For example, directives controlling process creation can only be placed in the main server context. To find which directives can be placed in which sections, check the Context of the directive. For further information, we provide details on How Directory, Location and Files sections work.
.htaccess Files Related Directives AccessFileName AllowOverride
Apache allows for decentralized management of configuration via special files placed inside the web tree. The special files are usually called  .htaccess , but any name can be specified in the  AccessFileName  directive. Directives placed in . htaccess  files apply to the directory where you place the file, and all sub-directories. The . htaccess  files follow the same syntax as the main configuration files. Since . htaccess  files are read on every request, changes made in these files take immediate effect.
To find which directives can be placed in  .htaccess  files, check the Context of the directive. The server administrator further controls what directives may be placed in  .htaccess  files by configuring the  AllowOverride  directive in the main configuration files. For more information on  .htaccess  files, see Ken Coar's tutorial on Using  .htaccess  Files with Apache, or the  .htaccess  tutorial in the Apache docs.
 

More Related Content

PPT
Apache ppt
ODP
Installing and configuring apache
PPT
APACHE
PPT
Apache Presentation
PDF
Apache Tutorial
PPTX
Apache web server
PPT
Apache Ppt
PDF
Apache web server tutorial for linux
Apache ppt
Installing and configuring apache
APACHE
Apache Presentation
Apache Tutorial
Apache web server
Apache Ppt
Apache web server tutorial for linux

What's hot (20)

PPT
Apache
PDF
Apache Manager Table of Contents
PDF
Installing oracle timesten database On Linux
ODP
Apache ppt
PDF
Refresh development from productions
PPTX
Apache server configuration & optimization
PPTX
Web server installation_configuration_apache
PDF
APACHE WEB SERVER FOR LINUX
PPTX
Apache web service
ODP
Apache ppt
ODP
Babitha.4appach
PPT
Linux Webserver Installation Command and GUI.ppt
PPT
Apache Web Server Setup 2
PDF
Ebs clone r12.2.4
PPT
Diva23
PDF
Webserver Administration: Apache as a case study
PPTX
Setting up a web server in Linux (Ubuntu)
PPTX
Servicemix4.5.0
PPT
Apache Web Server Architecture Chaitanya Kulkarni
Apache
Apache Manager Table of Contents
Installing oracle timesten database On Linux
Apache ppt
Refresh development from productions
Apache server configuration & optimization
Web server installation_configuration_apache
APACHE WEB SERVER FOR LINUX
Apache web service
Apache ppt
Babitha.4appach
Linux Webserver Installation Command and GUI.ppt
Apache Web Server Setup 2
Ebs clone r12.2.4
Diva23
Webserver Administration: Apache as a case study
Setting up a web server in Linux (Ubuntu)
Servicemix4.5.0
Apache Web Server Architecture Chaitanya Kulkarni
Ad

Similar to Apache (20)

PPT
Apache
PPT
PPT
PDF
ADM100 apache-administration-sample-content
ODP
Appache.ppt
PPT
Utosc2007_Apache_Configuration.ppt
PPT
Utosc2007_Apache_Configuration.ppt
PPT
Utosc2007_Apache_Configuration.ppt
PPTX
Apache
PPT
Apache installation and configurations
PPT
Apache
ODP
ODP
Apache
PDF
Apache linuxsadsfdsfsdfdsfsdfsdfdsfsdfs.pdf
PPT
Linux Webserver Installation Command and GUI.ppt
ODP
APACHE
ODP
ODP
Apache doc
Apache
ADM100 apache-administration-sample-content
Appache.ppt
Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.ppt
Apache
Apache installation and configurations
Apache
Apache
Apache linuxsadsfdsfsdfdsfsdfsdfdsfsdfs.pdf
Linux Webserver Installation Command and GUI.ppt
APACHE
Apache doc
Ad

More from Gouthaman V (20)

PDF
Professional Ethics Assignment II
DOC
Dip Unit Test-I
XLS
Scholastic averages sheet-2
DOC
Eligibility criteria and instructions for Infosys Placement
PDF
Answers for 2 Marks Unit Test I (RMW)
PDF
Anwers for 2 marks - RMW
PDF
Rmw unit test question papers
PDF
Circular and semicircular cavity resonator
DOC
VLSI Anna University Practical Examination
DOC
HCL IPT
DOC
VLSI Sequential Circuits II
PDF
VI Semester Examination Time Table
DOC
DOC
Antenna and Wave Propagation Assignment I
DOC
Antenna and Wave Propagation Assignment I
DOC
Computer Networks Unit Test II Questions
DOC
Sequential Circuits I VLSI 9th experiment
DOC
Antenna Unit Test II Questions
DOC
Antenna Unit Test II questions
DOC
Combinational circuits II outputs
Professional Ethics Assignment II
Dip Unit Test-I
Scholastic averages sheet-2
Eligibility criteria and instructions for Infosys Placement
Answers for 2 Marks Unit Test I (RMW)
Anwers for 2 marks - RMW
Rmw unit test question papers
Circular and semicircular cavity resonator
VLSI Anna University Practical Examination
HCL IPT
VLSI Sequential Circuits II
VI Semester Examination Time Table
Antenna and Wave Propagation Assignment I
Antenna and Wave Propagation Assignment I
Computer Networks Unit Test II Questions
Sequential Circuits I VLSI 9th experiment
Antenna Unit Test II Questions
Antenna Unit Test II questions
Combinational circuits II outputs

Recently uploaded (20)

PDF
Basic Mud Logging Guide for educational purpose
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Pre independence Education in Inndia.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
TR - Agricultural Crops Production NC III.pdf
Basic Mud Logging Guide for educational purpose
Final Presentation General Medicine 03-08-2024.pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
RMMM.pdf make it easy to upload and study
2.FourierTransform-ShortQuestionswithAnswers.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Supply Chain Operations Speaking Notes -ICLT Program
Pre independence Education in Inndia.pdf
Anesthesia in Laparoscopic Surgery in India
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Microbial diseases, their pathogenesis and prophylaxis
Complications of Minimal Access Surgery at WLH
Renaissance Architecture: A Journey from Faith to Humanism
Microbial disease of the cardiovascular and lymphatic systems
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
TR - Agricultural Crops Production NC III.pdf

Apache

  • 1. APACHE -By V.Gouthaman
  • 2. The Apache HTTP Server, commonly referred to as Apache is web server software notable for playing a key role in the initial growth of the World Wide Web. In 2009 it became the first web server software to surpass the 100 million web site milestone. Apache was the first viable alternative to the Netscape Communications Corporation web server (currently known as Sun Java System Web Server), and has since evolved to rival other Unix-based web servers in terms of functionality and performance. The majority of web servers using Apache run a Unix-like operating system. Introduction
  • 3. Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. The application is available for a wide variety of operating systems, including Unix, GNU, FreeBSD, Linux, Solaris, Novell NetWare, Mac OS X, Microsoft Windows, OS/2, TPF, and eComStation. Released under the Apache License, Apache is characterized as open source software. Since April 1996 Apache has been the most popular HTTP server software in use. As of February 2010[update] Apache served over 54.46% of all websites and over 66% of the million busiest.[4]
  • 5. Download the setup file. Double-Click the Apache Executable and Get the Welcome Screen
  • 6. Read the License Apache is released under the GPL license
  • 7. Read the README File The readme file will have late breaking information including bugs
  • 8. Provide Your Server Information This is the domain name and administrator for your server
  • 9. Select the Setup type For selected installation custom setup or else go for typical installation...
  • 10. Review Custom Options Click on the icon to change the feature of installation
  • 11. You're Done with the Apache web server Installation
  • 13. Main Configuration Files Related Modules Related Directives mod_mime AccessConfig <IfDefine> Include ResourceConfig TypesConfig
  • 14. Apache is configured by placing directives in plain text configuration files. The main configuration file is usually called httpd.conf. The location of this file is set at compile-time, but may be overridden with the -f command line flag. Some sites also have srm.conf and access.conf files for historical reasons. In addition, other configuration files may be added using the Include directive. Any directive may be placed in any of these configuration files. Changes to the main configuration files are only recognized by Apache when it is started or restarted.
  • 15. New with Apache 1.3.13 is a feature where if any configuration file is actually a directory, Apache will enter that directory and parse any files (and subdirectories) found there as configuration files. One possible use for this would be to add VirtualHosts by creating small configuration files for each host, and placing them in such a configuration directory. Thus, you can add or remove VirtualHosts without editing any files at all, simply adding or deleting them. This makes automating such processes much easier. The server also reads a file containing mime document types; the filename is set by the TypesConfig directive, and is mime.types by default.
  • 16. Syntax of the Configuration Files Apache configuration files contain one directive per line. The back-slash &quot;\&quot; may be used as the last character on a line to indicate that the directive continues onto the next line. There must be no other characters or white space between the back-slash and the end of the line. Directives in the configuration files are case-insensitive, but arguments to directives are often case sensitive. Lines which begin with the hash character &quot;#&quot; are considered comments, and are ignored.
  • 17. Comments may not be included on a line after a configuration directive. Blank lines and white space occurring before a directive are ignored, so you may indent directives for clarity. You can check your configuration files for syntax errors without starting the server by using apachectl configtest or the -t command line option.
  • 18. Modules Related Modules Related Directives mod_so AddModule ClearModuleList <IfModule> LoadModule
  • 19. Apache is a modular server. This implies that only the most basic functionality is included in the core server. Extended features are available through modules which can be loaded into Apache. By default, a base set of modules is included in the server at compile-time. If the server is compiled to use dynamically loaded modules, then modules can be compiled separately and added at any time using the LoadModule directive. Otherwise, Apache must be recompiled to add or remove modules. Configuration directives may be included conditional on a presence of a particular module by enclosing them in an <IfModule> block. To see which modules are currently compiled into the server, you can use the -l command line option.
  • 20. Scope of Directives Related Directives <Directory> <DirectoryMatch> <Files> <FilesMatch> <Location> <LocationMatch> <VirtualHost>
  • 21. Directives placed in the main configuration files apply to the entire server. If you wish to change the configuration for only a part of the server, you can scope your directives by placing them in <Directory>, <DirectoryMatch>, <Files>, <FilesMatch>, <Location>, and <LocationMatch> sections. These sections limit the application of the directives which they enclose to particular filesystem locations or URLs. They can also be nested, allowing for very fine grained configuration. Apache has the capability to serve many different websites simultaneously. This is called Virtual Hosting.
  • 22. Directives can also be scoped by placing them inside <VirtualHost> sections, so that they will only apply to requests for a particular website. Although most directives can be placed in any of these sections, some directives do not make sense in some contexts. For example, directives controlling process creation can only be placed in the main server context. To find which directives can be placed in which sections, check the Context of the directive. For further information, we provide details on How Directory, Location and Files sections work.
  • 23. .htaccess Files Related Directives AccessFileName AllowOverride
  • 24. Apache allows for decentralized management of configuration via special files placed inside the web tree. The special files are usually called .htaccess , but any name can be specified in the AccessFileName directive. Directives placed in . htaccess files apply to the directory where you place the file, and all sub-directories. The . htaccess files follow the same syntax as the main configuration files. Since . htaccess files are read on every request, changes made in these files take immediate effect.
  • 25. To find which directives can be placed in .htaccess files, check the Context of the directive. The server administrator further controls what directives may be placed in .htaccess files by configuring the AllowOverride directive in the main configuration files. For more information on .htaccess files, see Ken Coar's tutorial on Using .htaccess Files with Apache, or the .htaccess tutorial in the Apache docs.
  • 26.