Apache web server: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
{{quotation|The Apache HTTP Server Project is a collaborative software development effort aimed at creating a robust, commercial-grade, featureful, and freely-available source code implementation of an HTTP (Web) server. The project is jointly managed by a group of volunteers located around the world, using the Internet and the Web to communicate, plan, and develop the server and its related documentation}}. ([http://httpd.apache.org/ABOUT_APACHE.html Apache HTTP Server Project], retrieved 08:18, 29 May 2009 (UTC)).
{{quotation|The Apache HTTP Server Project is a collaborative software development effort aimed at creating a robust, commercial-grade, featureful, and freely-available source code implementation of an HTTP (Web) server. The project is jointly managed by a group of volunteers located around the world, using the Internet and the Web to communicate, plan, and develop the server and its related documentation}}. ([http://httpd.apache.org/ABOUT_APACHE.html Apache HTTP Server Project], retrieved 08:18, 29 May 2009 (UTC)).


== Software ==
Most educational web applications run on a traditional web server, and most of these use Apache plus the [[MySQL]] database server plus a server-side scripting language, [[PHP]] in particular. Even non-technical people might consider learning how to [[WAMP|install a webserver/MySQL/PHP bundle on a PC]] in order to try out various software such as [[learning management system]]s.
 
== Software and installation ==


Currently (May 2009) there exist three versions:
Currently (May 2009) there exist three versions:
Line 12: Line 14:
* The 1.3.x series
* The 1.3.x series


; The source
; Getting the source
You can compile the server, but generally speaking it is easier to install a binary version (see below)


* http://httpd.apache.org/
* http://httpd.apache.org/


; Installing compiled packages
=== Installing compiled http packages ===


The Apache web server runs on most operating system and on most, it has become really easy to install it.
The Apache web server runs on most operating system and on most, it has become really easy to install it.


* On Linux, it may be preinstalled, else you can get it through a package manager
* On Linux, it may be preinstalled, else you can get it through a package manager.
* See the [[WAMP]] article for hints on using Apache/MySQL/Php bundles for a Windows PC. You also can download a binary version from apache, but installing "WAMP" package is easier.
* See the [[WAMP]] article for hints on using Apache/MySQL/Php bundles for a Windows PC. You also can download a binary version from apache, but installing "WAMP" package is easier.
* On Solaris, there are pre-installed versions. However we suggest either compiling it or getting a newer version from [http://www.sunfreeware.com/ Sunfreeware.com].
* On Solaris, there are pre-installed versions. However we suggest either compiling it or getting a newer version from [http://www.sunfreeware.com/ Sunfreeware.com].
=== Configuration ===
The webserver is configured by editing hte ''http.conf'' configuration file that usually sits the installation_directory/conf/http.conf.
See the [http://httpd.apache.org/docs/2.2/mod/quickreference.html Directive Quick Reference]
=== DSO modules ===
Apache server has an extension mechanism that allows to add modules without recompiling the server.
{{quotation|The Apache HTTP Server is a modular program where the administrator can choose the functionality to include in the server by selecting a set of modules. The modules can be statically compiled into the httpd binary when the server is built. Alternatively, modules can be compiled as Dynamic Shared Objects (DSOs) that exist separately from the main httpd binary file. DSO modules may be compiled at the time the server is built, or they may be compiled and added at a later time using the Apache Extension Tool (apxs).}} ([http://httpd.apache.org/docs/2.2/dso.html Dynamic Shared Object (DSO) Support], retrieved 08:40, 29 May 2009 (UTC)).


== Links ==
== Links ==
Line 30: Line 45:
* [http://en.wikipedia.org/wiki/Apache_web_server Apache HTTP Server] (Wikipedia).
* [http://en.wikipedia.org/wiki/Apache_web_server Apache HTTP Server] (Wikipedia).


=== Basic Authentication ===
=== Manuals ===
 
* [http://httpd.apache.org/docs/ Apache HTTP Server Documentation] (Entry page)
*  [http://httpd.apache.org/docs/2.2/ Server Version 2.2 Documentation]
** [http://httpd.apache.org/docs/2.2/mod/directive-dict.html Terms Used to Describe Directives]
** [http://httpd.apache.org/docs/2.2/mod/quickreference.html Directive Quick Reference]
** [http://httpd.apache.org/docs/2.2/mod/directives.html Directive Index]
 
=== FAQs and Forums ===
 
* [http://wiki.apache.org/httpd/ Apache HTTP Server Wiki] (includes tips and tricks]
* [http://httpd.apache.org/docs/2.2/faq/ FAQ] (very minimal).
* [http://www.apacheweek.com/ Apache Week] (discontinued weekly, but still useful)
 
=== Other tutorials/resources ===


* [http://www.webreference.com/programming/apache_authentication/ Basic Authentication with Apache] by Sukrit Dhandhania, Webreference.com, 2009.
* [http://www.webreference.com/programming/apache_authentication/ Basic Authentication with Apache] by Sukrit Dhandhania, Webreference.com, 2009.
* [http://www.webreference.com/programming/Apache-Performance-Tuning/ Performance Tuning Tips for Apache], by Sukrit Dhandhania, webreference.com, 1/2010.


[[Category: AMP]]
[[Category: AMP]]

Latest revision as of 10:40, 8 January 2010

Draft

Introduction

“The Apache HTTP Server Project is a collaborative software development effort aimed at creating a robust, commercial-grade, featureful, and freely-available source code implementation of an HTTP (Web) server. The project is jointly managed by a group of volunteers located around the world, using the Internet and the Web to communicate, plan, and develop the server and its related documentation”. (Apache HTTP Server Project, retrieved 08:18, 29 May 2009 (UTC)).

Most educational web applications run on a traditional web server, and most of these use Apache plus the MySQL database server plus a server-side scripting language, PHP in particular. Even non-technical people might consider learning how to install a webserver/MySQL/PHP bundle on a PC in order to try out various software such as learning management systems.

Software and installation

Currently (May 2009) there exist three versions:

  • The 2.2.x series. Unless there is a good reason for using an older series (e.g. specific modules that you need), take this one.
  • The 2.0.x series
  • The 1.3.x series
Getting the source

You can compile the server, but generally speaking it is easier to install a binary version (see below)

Installing compiled http packages

The Apache web server runs on most operating system and on most, it has become really easy to install it.

  • On Linux, it may be preinstalled, else you can get it through a package manager.
  • See the WAMP article for hints on using Apache/MySQL/Php bundles for a Windows PC. You also can download a binary version from apache, but installing "WAMP" package is easier.
  • On Solaris, there are pre-installed versions. However we suggest either compiling it or getting a newer version from Sunfreeware.com.

Configuration

The webserver is configured by editing hte http.conf configuration file that usually sits the installation_directory/conf/http.conf.

See the Directive Quick Reference

DSO modules

Apache server has an extension mechanism that allows to add modules without recompiling the server.

“The Apache HTTP Server is a modular program where the administrator can choose the functionality to include in the server by selecting a set of modules. The modules can be statically compiled into the httpd binary when the server is built. Alternatively, modules can be compiled as Dynamic Shared Objects (DSOs) that exist separately from the main httpd binary file. DSO modules may be compiled at the time the server is built, or they may be compiled and added at a later time using the Apache Extension Tool (apxs).” (Dynamic Shared Object (DSO) Support, retrieved 08:40, 29 May 2009 (UTC)).

Links

General

Manuals

FAQs and Forums

Other tutorials/resources