|
61.
|
|
|
<emphasis role="bold">Includes</emphasis> - Allow server-side includes. Server-side includes allow an HTML file to <emphasis> include</emphasis> other files. See <ulink url="https://help.ubuntu.com/community/ServerSideIncludes">Apache SSI documentation (Ubuntu community)</ulink> for more information.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:410(para)
|
|
65.
|
|
|
<emphasis role="bold">Multiview</emphasis> - Support content-negotiated multiviews; this option is disabled by default for security reasons. See the <ulink url="http://httpd.apache.org/docs/2.4/mod/mod_negotiation.html#multiviews">Apache2 documentation on this option</ulink>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:441(para)
|
|
71.
|
|
|
<emphasis role="bold">User</emphasis> - The User directive sets the userid used by the server to answer requests. This setting determines the server's access. Any files inaccessible to this user will also be inaccessible to your website's visitors. The default value for User is "www-data".
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:482(para)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
95.
|
|
|
Sharing Write Permission
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:630(title)
|
|
96.
|
|
|
For more than one user to be able to write to the same directory it will be necessary to grant write permission to a group they share in common. The following example grants shared write permission to <filename>/var/www/html</filename> to the group "webmasters".
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:631(para)
|