|
4.
|
|
|
Apache is the most commonly used Web server on Linux systems. Web servers are used to serve Web pages requested by client computers. Clients typically request and view Web pages using Web browser applications such as <application>Firefox</application>, <application>Opera</application>, <application>Chromium</application>, or <application>Internet Explorer</application>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:18(para)
|
|
5.
|
|
|
Users enter a Uniform Resource Locator (URL) to point to a Web server by means of its Fully Qualified Domain Name (FQDN) and a path to the required resource. For example, to view the home page of the <ulink url="http://www.ubuntu.com">Ubuntu Web site</ulink> a user will enter only the FQDN:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:24(para)
|
|
7.
|
|
|
To view the <ulink url="http://www.ubuntu.com/community">community</ulink> sub-page, a user will enter the FQDN followed by a path:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:32(para)
|
|
14.
|
|
|
sudo apt install apache2
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:63(command)
|
|
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:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:73(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)
|
|
26.
|
|
|
<emphasis>sites-enabled:</emphasis> like mods-enabled, <filename role="directory">sites-enabled</filename> contains symlinks to the <filename>/etc/apache2/sites-available</filename> directory. Similarly when a configuration file in sites-available is symlinked, the site configured by it will be active once Apache2 is restarted.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:138(para)
|
|
27.
|
|
|
<emphasis>magic:</emphasis> instructions for determining MIME type based on the first few bytes of a file.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:145(para)
|