|
289.
|
|
|
Apache2 is configured by placing <emphasis>directives</emphasis> in plain text configuration files. These <emphasis>directives</emphasis> are separated between the following files and directories:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:63(para)
|
|
290.
|
|
|
<emphasis>apache2.conf:</emphasis> the main Apache2 configuration file. Contains settings that are <emphasis>global</emphasis> to Apache2.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:71(para)
|
|
291.
|
|
|
<emphasis>conf.d:</emphasis> contains configuration files which apply <emphasis>globally</emphasis> to Apache2. Other packages that use Apache2 to serve content may add files, or symlinks, to this directory.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:77(para)
|
|
292.
|
|
|
<emphasis>envvars:</emphasis> file where Apache2 <emphasis>environment</emphasis> variables are set.
|
|
|
|
<emphasis>envvars:</emphasis> ficheru nel que s'afiten les variables d'<emphasis>entornu</emphasis> d'Apache2.
|
|
Translated and reviewed by
Xandru Martino
|
|
|
|
Located in
serverguide/C/web-servers.xml:83(para)
|
|
293.
|
|
|
<emphasis>httpd.conf:</emphasis> historically the main Apache2 configuration file, named after the <application>httpd</application> daemon. The file can be used for <emphasis>user specific</emphasis> configuration options that globally effect Apache2.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:88(para)
|
|
294.
|
|
|
<emphasis>mods-available:</emphasis> this directory contains configuration files to both load <emphasis>modules</emphasis> and configure them. Not all modules will have specific configuration files, however.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:95(para)
|
|
295.
|
|
|
<emphasis>mods-enabled:</emphasis> holds <emphasis>symlinks</emphasis> to the files in <filename>/etc/apache2/mods-available</filename>. When a module configuration file is symlinked it will be enabled the next time <application>apache2</application> is restarted.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:101(para)
|
|
296.
|
|
|
<emphasis>ports.conf:</emphasis> houses the directives that determine which TCP ports Apache2 is listening on.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:108(para)
|
|
297.
|
|
|
<emphasis>sites-available:</emphasis> this directory has configuration files for Apache2 <emphasis>Virtual Hosts</emphasis>. Virtual Hosts allow Apache2 to be configured for multiple sites that have separate configurations.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:113(para)
|
|
298.
|
|
|
<emphasis>sites-enabled:</emphasis> like mods-enabled, <filename role="directory">sites-enabled</filename> contains symlinks to the <filename>/etc/apache2/sites-available</filename> directory. Similarly when a configuration file in sites-available is symlinked, the site configured by it will be active once Apache2 is restarted.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:119(para)
|