jim 99/06/13 12:59:43
Modified:.STATUS
htdocs/manual/mod core.html directives.html
src CHANGES
src/include http_conf_globals.h
src/main http_core.c http_main.c
Log:
Submitted by: Mathijs Maassen [EMAIL PROTECTED]
Reviewed by: Jim, Lars
Add the new DocumentRootCheck directive. This determines if we
check for each DocumentRoot during startup.
Revision ChangesPath
1.715 +1 -6 apache-1.3/STATUS
Index: STATUS
===
RCS file: /export/home/cvs/apache-1.3/STATUS,v
retrieving revision 1.714
retrieving revision 1.715
diff -u -r1.714 -r1.715
--- STATUS1999/06/13 11:25:24 1.714
+++ STATUS1999/06/13 19:59:34 1.715
@@ -1,5 +1,5 @@
1.3 STATUS:
- Last modified at [$Date: 1999/06/13 11:25:24 $]
+ Last modified at [$Date: 1999/06/13 19:59:34 $]
Release:
@@ -90,11 +90,6 @@
Available Patches:
-
-* Mathijs Maassen [EMAIL PROTECTED] path to disable the initial
- check/stat of DocumentRoot.
-Message-ID: [EMAIL PROTECTED]
- Status: Jim +1 (will add to docs), Lars +1
* Stipe Tolj's Cygwin32 port
PR#: 2936
1.147 +36 -0 apache-1.3/htdocs/manual/mod/core.html
Index: core.html
===
RCS file: /export/home/cvs/apache-1.3/htdocs/manual/mod/core.html,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- core.html 1999/04/20 22:19:15 1.146
+++ core.html 1999/06/13 19:59:35 1.147
@@ -36,6 +36,7 @@
LIA HREF=#directorylt;Directorygt;/A
LIA HREF=#directorymatchlt;DirectoryMatchgt;/A
LIA HREF=#documentrootDocumentRoot/A
+LIA HREF=#documentrootCheckDocumentRootCheck/A
LIA HREF=#errordocumentErrorDocument/A
LIA HREF=#errorlogErrorLog/A
LIA HREF=#fileslt;Filesgt;/A
@@ -743,6 +744,41 @@
PThere appears to be a bug in mod_dir which causes problems when the
DocumentRoot has a trailing slash (EMi.e./EM, DocumentRoot /usr/web/)
so
please avoid that.
+
+PHR
+
+H2A NAME=documentrootcheckDocumentRootCheck directive/A/H2
+!--%plaintext lt;?INDEX {\tt DocumentRootCheck} directivegt; --
+A
+ HREF=directive-dict.html#Syntax
+ REL=Help
+STRONGSyntax:/STRONG/A DocumentRootCheck EMOn/Off/EMBR
+A
+ HREF=directive-dict.html#Default
+ REL=Help
+STRONGDefault:/STRONG/A CODEDocumentRootCheck On/CODEBR
+A
+ HREF=directive-dict.html#Context
+ REL=Help
+STRONGContext:/STRONG/A server configBR
+A
+ HREF=directive-dict.html#Status
+ REL=Help
+STRONGStatus:/STRONG/A coreBR
+A
+ HREF=directive-dict.html#Compatibility
+ REL=Help
+STRONGCompatibility:/STRONG/A Available in Apache 1.3.7 and later
+P
+During startup, Apache does a CODEstat/CODE of each
+A HREF=#documentrootDocumentRoot/A
+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 emgreatly/em increase
+the startup time. If you are sure that all the DocumentRoot
+entries exist, you can tell Apache to bypass this check using
+BLOCKQUOTECODEDocumentRootCheck Off/CODE/BLOCKQUOTE
+
PHR
1.57 +1 -0 apache-1.3/htdocs/manual/mod/directives.html
Index: directives.html
===
RCS file: /export/home/cvs/apache-1.3/htdocs/manual/mod/directives.html,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- directives.html 1999/03/23 14:35:47 1.56
+++ directives.html 1999/06/13 19:59:37 1.57
@@ -95,6 +95,7 @@
LIA HREF=core.html#directorymatchlt;DirectoryMatchgt;/A
LIA HREF=mod_dir.html#directoryindexDirectoryIndex/A
LIA HREF=core.html#documentrootDocumentRoot/A
+LIA HREF=core.html#documentrootcheckDocumentRootCheck/A
LIA HREF=core.html#errordocumentErrorDocument/A
LIA HREF=core.html#errorlogErrorLog/A
LIA HREF=mod_example.html#exampleExample/A
1.1378+7 -0 apache-1.3/src/CHANGES
Index: CHANGES
===
RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.1377
retrieving revision 1.1378
diff -u -r1.1377 -r1.1378
--- CHANGES 1999/06/09 17:22:44 1.1377
+++ CHANGES 1999/06/13 19:59:38 1.1378
@@ -1,5 +1,9 @@
Changes with Apache 1.3.7
+ *) New directive, DocumentRootCheck, added to determine if
+ we bother doing the stat of each DocumentRoot during
+ startup. [Mathijs Maassen [EMAIL PROTECTED]. Jim Jagielski]
+
*) Win32: The query switch apache -S didn't exit after showing the
vhost settings. That was inconsistent with the other query functions.
[Bill