|
16.
|
|
|
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:
|
|
|
|
Apache2 sa konfiguruje pomocou <emphasis>direktív</emphasis> v textových konfiguračných súboroch. Konfiguračné súbory sú rozdelené do nasledujúcich súborov a priečinkov:
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:73(para)
|
|
17.
|
|
|
<emphasis>apache2.conf:</emphasis> the main Apache2 configuration file. Contains settings that are <emphasis>global</emphasis> to Apache2.
|
|
|
|
<emphasis>apache2.conf:</emphasis> hlavný konfiguračný súbor Apache2. Obsahuje <emphasis>globálne</emphasis> nastavenia pre Apache2.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:81(para)
|
|
18.
|
|
|
<emphasis>httpd.conf:</emphasis> historically the main Apache2 configuration file, named after the <application>httpd</application> daemon. Now the file does not exist. In older versions of Ubuntu the file might be present, but empty, as all configuration options have been moved to the below referenced directories.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:87(para)
|
|
19.
|
|
|
<emphasis>conf-available:</emphasis> this directory contains available configuration files. All files that were previously in <filename>/etc/apache2/conf.d</filename> should be moved to <filename>/etc/apache2/conf-available</filename>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:94(para)
|
|
20.
|
|
|
<emphasis>conf-enabled:</emphasis> holds <emphasis>symlinks</emphasis> to the files in <filename>/etc/apache2/conf-available</filename>. When a 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)
|
|
21.
|
|
|
<emphasis>envvars:</emphasis> file where Apache2 <emphasis>environment</emphasis> variables are set.
|
|
|
|
<emphasis>envvars:</emphasis> súbor, v ktorom sú nastavené premenné <emphasis>prostredia</emphasis> Apache2.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:108(para)
|
|
22.
|
|
|
<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.
|
|
|
|
<emphasis>mods-available:</emphasis> (dostupné moduly) tento priečinok obsahuje <emphasis>moduly</emphasis>, ktoré je možné načítať a obsahuje aj ich konfiguračné súbory. Všetky moduly však nemajú svoj konfiguračný súbor.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:113(para)
|
|
23.
|
|
|
<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.
|
|
|
|
<emphasis>mods-enabled:</emphasis> (povolené moduly) uchováva <emphasis>symbolické odkazy</emphasis> na súbory v priečinku <filename>/etc/apache2/mods-available</filename>. Ak pridáme do tohto priečinka symbolický odkaz na konfiguračný súbor modulu, ten sa zapne pri ďalšom štarte <application>apache2</application>.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:119(para)
|
|
24.
|
|
|
<emphasis>ports.conf:</emphasis> houses the directives that determine which TCP ports Apache2 is listening on.
|
|
|
|
<emphasis>ports.conf:</emphasis> obsahuje direktívy určujúce, na ktorých TCP portoch bude Apache2 načúvať.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:126(para)
|
|
25.
|
|
|
<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.
|
|
|
|
<emphasis>sites-available:</emphasis> (dostupné weby) tento priečinok obsahuje konfiguračné súbory pre tz. <emphasis>Virtual Hosts<emphasis> - Virtuálne stanice. Virtuálne stanice umožňujú nakonfigurovať Apache2 tak, aby poskytoval viacero stránok s osobitnou konfiguráciou.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:131(para)
|