From: Jim Jagielski Date: Sun, 13 Jun 1999 19:59:37 +0000 (+0000) Subject: PR: X-Git-Tag: 1.3.7~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67c353b6281cf7b2715545bcaf47b16ba5850ef8;p=thirdparty%2Fapache%2Fhttpd.git PR: Obtained from: Submitted by: Mathijs Maassen Reviewed by: Jim, Lars Add the new DocumentRootCheck directive. This determines if we check for each DocumentRoot during startup. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83325 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index 899eadd8009..588508df2ab 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -36,6 +36,7 @@ always available.
  • <Directory>
  • <DirectoryMatch>
  • DocumentRoot +
  • DocumentRootCheck
  • ErrorDocument
  • ErrorLog
  • <Files> @@ -744,6 +745,41 @@ to /usr/web/index.html. DocumentRoot has a trailing slash (i.e., "DocumentRoot /usr/web/") so please avoid that. +


    + +

    DocumentRootCheck directive

    + +Syntax: DocumentRootCheck On/Off
    +Default: DocumentRootCheck On
    +Context: server config
    +Status: core
    +Compatibility: Available in Apache 1.3.7 and later +

    +During startup, Apache does a stat of each +DocumentRoot +to determine if the directory exists. If your server is +configured with lots of DocumentRoot directives (for example, +if you server numerous virtual hosts), this can greatly increase +the startup time. If you are sure that all the DocumentRoot +entries exist, you can tell Apache to bypass this check using +

    DocumentRootCheck Off
    + +


    ErrorDocument directive

    diff --git a/docs/manual/mod/directives.html b/docs/manual/mod/directives.html index a95fe97ec6b..bfa608d6d80 100644 --- a/docs/manual/mod/directives.html +++ b/docs/manual/mod/directives.html @@ -95,6 +95,7 @@ of the terms used in their descriptions available.
  • <DirectoryMatch>
  • DirectoryIndex
  • DocumentRoot +
  • DocumentRootCheck
  • ErrorDocument
  • ErrorLog
  • Example