Difference between revisions of "Apache Server"

From Organic Design wiki
(summary)
Line 7: Line 7:
 
Version 2 of the Apache server was a substantial re-write of much of the Apache 1.x code, with a strong focus on further modularization and the development of a portability layer, the [[W:Apache Portable Runtime|Apache Portable Runtime]]. The Apache 2.x core has several major enhancements over Apache 1.x. These include [[W:Thread (computer science)|UNIX threading]], better support for non-Unix platforms (such as Microsoft Windows), a new Apache [[W:application programming interface|API]], and [[W:IPv6|IPv6]] support.
 
Version 2 of the Apache server was a substantial re-write of much of the Apache 1.x code, with a strong focus on further modularization and the development of a portability layer, the [[W:Apache Portable Runtime|Apache Portable Runtime]]. The Apache 2.x core has several major enhancements over Apache 1.x. These include [[W:Thread (computer science)|UNIX threading]], better support for non-Unix platforms (such as Microsoft Windows), a new Apache [[W:application programming interface|API]], and [[W:IPv6|IPv6]] support.
  
terminal:~ user$ httpd -V
+
Version 2.2 introduced a new authorization API that allows for more flexibility. It also features improved cache modules and proxy modules.
<table class=document-code><tr><td>
+
 
Server version: Apache/1.3.33 (Darwin)
+
==Useful commands==
Server built:  Mar 20 2005 15:08:27
+
===Apache 1.x===
Server's Module Magic Number: 19990320:16
+
*apachectl --help
Server compiled with....
+
*httpd -h
-D EAPI
+
 
-D HAVE_MMAP
+
===Apache 2.x===
-D USE_MMAP_SCOREBOARD
+
*apachectl --help
-D USE_MMAP_FILES
+
*apache2 -h
-D HAVE_FCNTL_SERIALIZED_ACCEPT
 
-D HAVE_FLOCK_SERIALIZED_ACCEPT
 
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 
-D DYNAMIC_MODULE_LIMIT=64
 
-D HARD_SERVER_LIMIT=2048
 
-D HTTPD_ROOT="/usr"
 
-D SUEXEC_BIN="/usr/sbin/suexec"
 
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
 
-D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
 
-D DEFAULT_LOCKFILE="/var/run/httpd.lock"
 
-D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
 
-D TYPES_CONFIG_FILE="/etc/httpd/mime.types"
 
-D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"
 
-D ACCESS_CONFIG_FILE="/etc/httpd/access.conf"
 
-D RESOURCE_CONFIG_FILE="/etc/httpd/srm.conf"
 
</td></tr><table>
 

Revision as of 08:41, 18 September 2007


The Apache HTTP Server, commonly referred to simply as Apache, is a web server notable for playing a key role in the initial growth of the World Wide Web. 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.


Apache versions

Version 2 of the Apache server was a substantial re-write of much of the Apache 1.x code, with a strong focus on further modularization and the development of a portability layer, the Apache Portable Runtime. The Apache 2.x core has several major enhancements over Apache 1.x. These include UNIX threading, better support for non-Unix platforms (such as Microsoft Windows), a new Apache API, and IPv6 support.

Version 2.2 introduced a new authorization API that allows for more flexibility. It also features improved cache modules and proxy modules.

Useful commands

Apache 1.x

  • apachectl --help
  • httpd -h

Apache 2.x

  • apachectl --help
  • apache2 -h