You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2007/05/05 15:40:28 UTC

[Httpd Wiki] Update of "Platform/DebianLike" by noodl

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by noodl:
http://wiki.apache.org/httpd/Platform/DebianLike

The comment on the change is:
First stab. I've never used debian so please someone review it!

New page:
The Debian family of linux distributions share a common, heavily customised, Apache HTTPD configuration. Though they're not exactly alike (Gentoo for example makes use of the !IfDefine module for enabling features), this guide will attempt to point out where they differ from the 'standard' upstream configuration layout, as available from httpd.apache.org.

For a high level overview of these platforms, and others, see ["Info/DistrosDefaultLayout"]

= Module Configuration =
The Debian apache package for version 2.0 and greater puts module configuration files in /etc/apache2/mods-available and for version 2.2 /etc/apache22/modes-available.
These files are not loaded by the server by default. In order to enable them, symlinks are made in the /etc/apache2/mods-enabled directory pointing back to mods-available. There is a command line tool available to automate this process called a2enmod.

{{{
$ # to enable mod_rewrite, for example
$ a2enmod rewrite
}}}

Similarly there's a command named a2dismod which simply removes the symlink.

= VirtualHost Configuration =
In much the same way that modules are enabled and disabled, sites (!VirtualHosts) are kept in /etc/apache2/sites-available and symlinked in to /etc/apache2/sites-enabled with the a2ensite and a2dissite commands.

= Bundled Documentation =

For further details, see the docs available in:
{{{
/etc/apache2/README
//usr/share/doc/apache*/README.Debian*
}}}