Linux за българи: Форуми

Преводи => Преводи на документация => Темата е започната от: kennedy в Apr 27, 2002, 11:38



Титла: Include Directive
Публикувано от: kennedy в 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/


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