/etc/apache2/ports.conf: This file specifies the ports that Apache will listen on. By default, Apache listens on port 80 and additionally listens on port 443 when a module providing SSL capabilities is enabled.
Последний файл /etc/apache2/envvars, его вы вряд ли будете использовать, в нем указанны переменные, которые можно использовать в других конфигурационных файлах.
Within the virtual host definition, there are definitions for how the server handles different directories within the file system. Apache will apply all of these directions in order from shortest to longest, so there is again a chance to override previous options. Open the apache2.conf file with this command
The Apache2 web server is available in Ubuntu Linux. To install Apache2: At a terminal prompt enter the following command
Файл /etc/apache2/apache2.conf является главным конфигурационным файлом web сервера Apache и загружается в первую очередь.
The default configuration of Apache varies significantly between various distributions of Linux.
Значение по умолчанию, находящееся в /etc/apache2/mods-available/dir.conf это «index.html index.cgi index.pl index.php index.xhtml index.htm».
Рассказываем про то, как установить и настроить Apache в Linux. Что такое Apache? Apache — это кроссплатформенное программное обеспечение для гибкой настройки надежных веб-серверов.
И web-сервер Apache версии 2. Развернута система в «Облачной платформе» Selectel. Для тестового сервера используется минимальная конфигурация мощностей: 1 процессор, 1 ГБ оперативной памяти. Для запуска простого ненагруженного web-приложения этого достаточно.
Далее откройте файл /etc/apache2/apache2.conf (используя sudo и ваш любимый текстовый редактор) и добавьте в конец вашего файла конфигурации блок