|
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)
|
|
Translated by
Gerson "fserve" Barreiros
|
|
Reviewed by
Gerson "fserve" Barreiros
|
|
|
|
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)
|
|
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)
|
|
31.
|
|
|
This section explains Apache2 server essential configuration parameters. Refer to the <ulink url="http://httpd.apache.org/docs/2.4/">Apache2 Documentation</ulink> for more details.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:169(para)
|
|
55.
|
|
|
By default, the server writes the transfer log to the file <filename>/var/log/apache2/access.log</filename>. You can change this on a per-site basis in your virtual host configuration files with the <emphasis>CustomLog</emphasis> directive, or omit it to accept the default, specified in <filename> /etc/apache2/conf-available/other-vhosts-access-log.conf</filename>. You may also specify the file to which errors are logged, via the <emphasis>ErrorLog</emphasis> directive, whose default is <filename>/var/log/apache2/error.log</filename>. These are kept separate from the transfer logs to aid in troubleshooting problems with your Apache2 server. You may also specify the <emphasis>LogLevel</emphasis> (the default value is "warn") and the <emphasis>LogFormat</emphasis> (see <filename> /etc/apache2/apache2.conf</filename> for the default value).
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:360(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)
|
|
110.
|
|
|
This section assumes you have installed and configured Apache2 Web Server and MySQL Database Server. You can refer to the Apache2 and MySQL sections in this document to install and configure Apache2 and MySQL respectively.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:704(para)
|
|
111.
|
|
|
PHP is available in Ubuntu Linux. Unlike python and perl, which are installed in the base system, PHP must be added.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:711(para)
|