Автор Тема: Include Directive  (Прочетена 3618 пъти)

kennedy

  • Напреднали
  • *****
  • Публикации: 2151
  • Николай Колев
    • Профил
Include Directive
« -: Apr 27, 2002, 11:38 »
Include Directive
Description: Includes other configuration files from within the server configuration files
This directive allows inclusion of other configuration files from within the server configuration files.

If Include points to a directory, rather than a file, Apache will read all files in that directory, and any subdirectory, and parse those as configuration files.

The file path specified may be a fully qualified path (i.e. starting with a slash), or may be relative to the ServerRoot directory.

Examples:
Include /usr/local/apache/conf/ssl.conf
Include /usr/local/apache/conf/vhosts/
--------------------------------------------------------
Описание: Тази директива позволява включвне на други конфигурационни файлове като вътрешни за сървъра.
Ако се посочи директория Apache ще прочете всички файлове в тази директория и в поддиректориите ако има такива  .....
Пътят трябва да описан правилно (т.е. да започва с /) или може да бъде "relative to the ServerRoot directory"
ПРИМЕР:
   Include /usr/local/apache/conf/ssl.conf
   Include /usr/local/apache/conf/vhosts/
Или използвайки релативния път обявен в ServerRoot директивата
   Include conf/ssl.conf
   Include conf/vhosts/


Да се добавят ли още пояснения към това?
Активен

"за всичко иде час" Еклесиаст 3:1
всеки пост - отговор на въпрос
-----------------
24.12.2003 "MS Free"

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
#include <hashmap>
Общ форум
aSmith 2 2025 Последна публикация Dec 27, 2004, 12:17
от aSmith
PHP include
Web development
svincho 4 2255 Последна публикация Aug 17, 2005, 08:28
от svincho
Include latin layout + не може да се активира
Настройка на програми
Vatman 0 1149 Последна публикация Jan 04, 2007, 20:15
от Vatman
Php include() bug
Web development
VladSun 6 3044 Последна публикация Oct 16, 2007, 19:42
от VladSun
Http грешка при външно include?
Web development
Naka 11 3737 Последна публикация Apr 21, 2010, 00:14
от VladSun