|
347.
|
|
|
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.
|
|
|
|
Group-direktiivi on samankaltainen kuin User-direktiivi. Sillä asetetaan se käyttäjäryhmä, johon palvelin kuuluu. Oletuksena se on www-data.
|
|
Translated and reviewed by
Heikki Mäntysaari
|
|
|
|
Located in
serverguide/C/web-servers.xml:490(para)
|
|
348.
|
|
|
Apache2 Modules
|
|
|
|
Apache2:n moduulit
|
|
Translated and reviewed by
Jussi Aalto
|
|
|
|
Located in
serverguide/C/web-servers.xml:496(title)
|
|
349.
|
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:498(para)
|
|
350.
|
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:510(para)
|
|
351.
|
|
|
You can install additional Apache2 modules and use them with your Web server. For example, run the following command from a terminal prompt to install the <emphasis>MySQL Authentication</emphasis> module:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:517(para)
|
|
352.
|
|
|
sudo apt-get install libapache2-mod-auth-mysql
|
|
|
|
sudo apt-get install libapache2-mod-auth-mysql
|
|
Translated and reviewed by
Heikki Mäntysaari
|
|
|
|
Located in
serverguide/C/web-servers.xml:524(command)
|
|
353.
|
|
|
See the <filename>/etc/apache2/mods-available</filename> directory, for additional modules.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:527(para)
|
|
354.
|
|
|
Use the <application>a2enmod</application> utility to enable a module:
|
|
|
|
Käytä <application>a2enmod</application>-apuohjelmaa ottaaksesi käyttöön moduulin:
|
|
Translated by
Jussi Aalto
|
|
Reviewed by
Timo Jyrinki
|
|
|
|
Located in
serverguide/C/web-servers.xml:531(para)
|
|
355.
|
|
|
sudo a2enmod auth_mysql
|
|
|
|
sudo a2enmod auth_mysql
|
|
Translated by
Jussi Aalto
|
|
Reviewed by
Timo Jyrinki
|
|
|
|
Located in
serverguide/C/web-servers.xml:537(command)
|
|
356.
|
|
|
Similarly, <application>a2dismod</application> will disable a module:
|
|
|
|
<application>a2dismod</application> taasen poistaa moduulin käytöstä:
|
|
Translated by
Jussi Aalto
|
|
Reviewed by
Timo Jyrinki
|
|
|
|
Located in
serverguide/C/web-servers.xml:541(para)
|