|
81.
|
|
|
sudo a2enmod auth_mysql
|
|
|
|
sudo a2enmod auth_mysql
|
|
Translated by
Yuri Chornoivan
|
|
|
|
Located in
serverguide/C/web-servers.xml:543(command)
|
|
82.
|
|
|
Similarly, <application>a2dismod</application> will disable a module:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:547(para)
|
|
83.
|
|
|
sudo a2dismod auth_mysql
|
|
|
|
sudo a2dismod auth_mysql
|
|
Translated by
Yuri Chornoivan
|
|
|
|
Located in
serverguide/C/web-servers.xml:552(command)
|
|
84.
|
|
|
HTTPS Configuration
|
|
|
|
Налаштування HTTPS
|
|
Translated by
Yuri Chornoivan
|
|
|
|
Located in
serverguide/C/web-servers.xml:559(title)
|
|
85.
|
|
|
The <application>mod_ssl</application> module adds an important feature to the Apache2 server - the ability to encrypt communications. Thus, when your browser is communicating using SSL, the https:// prefix is used at the beginning of the Uniform Resource Locator (URL) in the browser navigation bar.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:561(para)
|
|
86.
|
|
|
The <application>mod_ssl</application> module is available in <application>apache2-common</application> package. Execute the following command at a terminal prompt to enable the <application>mod_ssl</application> module:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:570(para)
|
|
87.
|
|
|
sudo a2enmod ssl
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:577(command)
|
|
88.
|
|
|
There is a default HTTPS configuration file in <filename>/etc/apache2/sites-available/default-ssl.conf</filename>. In order for <application>Apache2</application> to provide HTTPS, a <emphasis>certificate</emphasis> and <emphasis>key</emphasis> file are also needed. The default HTTPS configuration will use a certificate and key generated by the <application>ssl-cert</application> package. They are good for testing, but the auto-generated certificate and key should be replaced by a certificate specific to the site or server. For information on generating a key and obtaining a certificate see <xref linkend="certificates-and-security"/>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:580(para)
|
|
89.
|
|
|
To configure <application>Apache2</application> for HTTPS, enter the following:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:590(para)
|
|
90.
|
|
|
sudo a2ensite default-ssl
|
|
|
|
sudo a2ensite default-ssl
|
|
Translated by
Yuri Chornoivan
|
|
|
|
Located in
serverguide/C/web-servers.xml:595(command)
|