|
73.
|
|
|
<emphasis role="bold">Group</emphasis> - The Group directive is similar to the User directive. Group sets the group under which the server will answer requests. The default group is also "www-data".
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:495(para)
|
|
74.
|
|
|
Apache2 Modules
|
|
|
|
Moduly systému Apache2
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:502(title)
|
|
75.
|
|
|
Apache2 is a modular server. This implies that only the most basic functionality is included in the core server. Extended features are available through modules which can be loaded into Apache2. By default, a base set of modules is included in the server at compile-time. If the server is compiled to use dynamically loaded modules, then modules can be compiled separately, and added at any time using the LoadModule directive. Otherwise, Apache2 must be recompiled to add or remove modules.
|
|
|
|
Apache je modulárny server. To znamená, že do jadra servera sú zabudované iba tie najzákladnejšie funkcionality. Ďalšie funkcie sú dostupné prostredníctvom modulov, ktoré sa do servera Apache dajú nahrať. V predvolenom stave je počas kompilovania začlenená základná sada modulov. Ak je server skompilovaný tak, aby používal dynamicky nahrávané moduly, potom moduly môžu byť skompilované samostatne a kedykoľvek pridané prostredníctvom direktívy LoadModule. V opačnom prípade je potrebné pri pridávaní a odoberaní modulov Apache znova prekompilovať.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:504(para)
|
|
76.
|
|
|
Ubuntu compiles Apache2 to allow the dynamic loading of modules. Configuration directives may be conditionally included on the presence of a particular module by enclosing them in an <emphasis><IfModule></emphasis> block.
|
|
|
|
Ubuntu používa Apache2, ktorý umožňuje dynamické nahrávanie modulov. Konfiguračné direktívy môžu byť podmienené prítomnosťou konkrétnych modulov uzavretím do bloku <emphasis><IfModule></emphasis>.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:516(para)
|
|
77.
|
|
|
You can install additional Apache2 modules and use them with your Web server. For example, run the following command at a terminal prompt to install the <emphasis>MySQL Authentication</emphasis> module:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:523(para)
|
|
78.
|
|
|
sudo apt install libapache2-mod-auth-mysql
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:530(command)
|
|
79.
|
|
|
See the <filename>/etc/apache2/mods-available</filename> directory, for additional modules.
|
|
|
|
Nainštalované moduly môžeme nájsť v priečinku <filename>/etc/apache2/mods-available</filename>.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:533(para)
|
|
80.
|
|
|
Use the <application>a2enmod</application> utility to enable a module:
|
|
|
|
Ak chceme modul zapnúť, použijeme nástroj <application>a2enmod</application>:
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:537(para)
|
|
81.
|
|
|
sudo a2enmod auth_mysql
|
|
|
|
sudo a2enmod auth_mysql
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:543(command)
|
|
82.
|
|
|
Similarly, <application>a2dismod</application> will disable a module:
|
|
|
|
Podobne ich pomocou nástroja <application>a2dismod</application> môžeme vypnúť:
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:547(para)
|