Mar 04, 2016 Check Apache Version. As a rule of thumb, stick with the update method provided by the package manager of your chosen distribution (yum update httpd or aptitude safe-upgrade apache2, for CentOS or Debian, respectively) unless there is no other way. The Apache HTTP Server, colloquially called Apache, is a Web server application notable for playing a key role in the initial growth of the World Wide Web. Originally based on the NCSA HTTPd server, development of Apache began in early 1995 after work on the NCSA code stalled. The Apache HTTP Server Project. The ASF Product Classification Matrix is a general listing of ASF software products and their source links for which we have determined an export classification for that product as distributed by the Apache Software Foundation. The matrix is to be used in conjunction with the EAR to provide classification information in order to assist. Apache Web Server is one of the most popular HTTP servers on the Internet today, due to its open-source nature, rich modules, and features and can run on almost major platforms and operating systems.
Skip to end of metadataGo to start of metadataThis guide lists the default installation layouts for Apache HTTPD on various operating systems and distributions.

While examples in the main Apache HTTP Server documentation assume that you are using the standard file layout distributed from apache.org, many third-party distributors change the layout to conform to local policies. This can make it difficult to follow the examples and to find various important files. Using the information below, you can find where things live on your local install, and compare it to the standard Apache httpd paths.
Apache httpd 2.4 default layout (apache.org source package):
Apache httpd 2.2 default layout (apache.org source package):
Apache httpd 2.0 default layout (apache.org source package):
Debian, Ubuntu (Apache httpd 2.x):
Notes:

- The Debian/Ubuntu layout is fully documented in /usr/share/doc/apache2/README.Debian
- Debian/Ubuntu use symlinks to configure vhosts and load modules. Configuration files are created in their respective sites-available and mods-available directories. To activate vhosts and modules, symlinks are created in the respective sites-enabled and mods-enabled directories to the config files in either sites-available and mods-available. Debian provides scripts to handle this process called 'a2ensite' and 'a2enmod' which activates vhosts and modules.
- The default vhost is defined in /etc/apache2/sites-available/default, and overrides the DocumentRoot set in the server context.
Fedora Core, CentOS, RHEL:
Notes:
- There is an extra config file in /etc/sysconfig/httpd which can be used to change to the worker mpm /usr/sbin/httpd.worker.
- Extra config files named *.conf are loaded from /etc/httpd/conf.d. This directory is used by packages like mod_python for drop-in configs
- If you're having issues with authorization and your permissions are correct, you might have problems with SELinux permissions. Take a look at httpd_selinux(8) and related documentation. Particularly sealert(8) can be used for analysis and suggested solutions.
RedHat 9.0 and older:
Mandriva (Apache httpd 2.2):
Mac OS X (Leopard, Apache httpd 2.2):
Notes:
- apachectl graceful is equivalent to apachectl restart and doesn't keep running connections alive. Similarly, graceful-stop is not graceful.
- The
/usr/sbin/envvarsscript is ineffective for setting environment variables. See http://lists.apple.com/archives/web-dev/2008/Apr/msg00059.html

NetBSD Apache httpd 2.0 and 1.3 from pkgsrc (layout is identical):
Notes:
- The 'apache' script must be copied from the installation default /usr/pkg/share/examples/rc.d to /etc/rc.d (for automatic rc.conf usage) or /usr/pkg/etc/rc.d (for advanced usage).
FreeBSD 6.1 (Apache httpd 2.2):
Notes:
- Other variables to insert in rc.conf are listed in the comments at the top of the start/stop script
- To start 2.2 on freebsd 6.1 the accf_http kernel module must be loaded. To do this once, run {{kldload accf_http }}. To do so at boot time, add accf_http_load=”YES” to /boot/loader.conf
- Apache 2.2.6 in the FreeBSD 6.2 release will start regardless of the accf_http kernel module being loaded, and by default doesn't use it. To reverse this, add apache22_http_accept_enable='YES' to /etc/rc.conf (which will cause the kernel module to be loaded and Apache to use it).
FreeBSD 6.1 (Apache httpd 2.0):
Notes:
- Other variables to insert in rc.conf are listed in the comments at the top of the start/stop script
OpenBSD 5.0 (Apache httpd 1.3 (Hardened version for OpenBSD)):
Notes:
- The OpenBSD team has added default chrooting, privilege revocation, and other security-related improvements to their Apache httpd 1.3 package.
OpenBSD 5.0 (Apache httpd 2.2 (Unedited, non-hardened version)):
Win32 (Apache httpd 2.2):
Notes;

- There are extra config files in 'C:/Program Files/Apache Software Foundation/Apache2.2/conf/extra' that can be included for options such as vhosts
Solaris 10 (Apache httpd 2.0):
Notes:
- Config needs to be copied from example file to httpd.conf. Apache-1.3 is the default installation in /etc/init.d and /etc/rc3.d files.
See Full List On Hub.docker.com
Slackware 14.0+ (Apache httpd 2.4):
openSUSE and SLES (Apache httpd 2.2):
Notes:
- Modules are enabled in /etc/sysconfig/apache2 which is read by the startup script. The a2enmod/a2dismod tool can be used to activate/deactivate modules.
- See /usr/share/doc/packages/apache2/README.SUSE for more information.
Gentoo (Apache httpd 2.2):
Notes:
Apache Httpd Source Code
- To enable a module, '-D MODULENAME' must be added to APACHE_OPTS in /etc/conf.d/apache2
TODO:
Add:
- Netware. eek!
Add apache group name in different distros (ex: ubuntu: www-data, CentOs: apache ..etc)
Contents
Apache Httpd Configuration
Short Descriptions
How To Administrate The Apache Web Server Using 'Apache GUI' Tool
ab Knives out imdb. | is a tool for benchmarking your Apache HTTP server. |
apachectl | is a front end to the Apache HTTP server which is designed to help the administrator control the functioning of the Apache httpd daemon. |
apxs | is a tool for building and installing extension modules for the Apache HTTP server. |
checkgid | is a program that checks whether it can setgid to the group specified. This is to see if it is a valid group for Apache2 to use at runtime. If the user (should be run as superuser) is in that group, or can setgid to it, it will return 0. |
dbmmanage | is used to create and update the DBM format files used to store usernames and passwords for basic authentication of HTTP users. |
fcgistarter | is a tool to start a FastCGI program. |
htcacheclean | is used to clean up the disk cache. |
htdbm | is used to manipulate the DBM password databases. |
htdigest | is used to create and update the flat-files used to store usernames, realms and passwords for digest authentication of HTTP users. |
htpasswd | is used to create and update the flat-files used to store usernames and passwords for basic authentication of HTTP users. |
httpd | is the Apache HTTP server program. |
httxt2dbm | is used to generate DBM files from text, for use in RewriteMap. |
logresolve | is a post-processing program to resolve IP-addresses in Apache's access log files. |
rotatelogs | is a simple program for use in conjunction with Apache's piped log file feature. |
suexec | allows users to run CGI and SSI applications as a different user. |

