Публикации - Настройка и конфигурирование Apache2 в Ubuntu

Файлы и дирректории

Контент

  • /var/www/html: This directory holds the web content of your site, and is its default root. You can modify Apache’s default configuration settings to point to other directories within var/www.

Конфигурирование сервера

  • /etc/apache2: The configuration directory in Apache, home to all of its configuration files.

  • /etc/apache2/apache2.conf: Apache’s primary configuration file, which stores its global configuration settings. Other files in the configuration directory are loaded from this file. It also stores the FollowSymLinks directives, which control configuration enabling and disabling.

  • /etc/apache2/sites-available/: This directory holds virtual host configuration files, which are enabled through links to the sites-enabled directory. Modification to server block files happens in this directory, and is enabled through the a2ensite command.

  • /etc/apache2/sites-enabled/: Activated virtual host configuration files are stored here. When Apache starts or reloads, it reads the configuration files and links in this directory as it complies a full configuration.

  • /etc/apache2/conf-available and /etc/apache2/conf-enabled: In the same relationship as sites-available and sites-enabled, these directories house configuration fragments that are unattached to virtual host configuration files.

  • /etc/apache2/mods-available and /etc/apache2/mods-enabled: Containing modules that are available and enabled, these directories have two components: files ending in .load, which contain fragments that load particular modules, and files ending in .conf, which store the configurations of these modules.

Количество комментариев: 0

Для того, чтобы оставить коментарий необходимо зарегистрироваться