From cf3d4559cc93c7093dab70954018fcf81cd6a981 Mon Sep 17 00:00:00 2001 From: Joshua Slive Date: Thu, 21 Sep 2000 21:27:00 +0000 Subject: Syntax docs. (Yes, I am essentially just documenting the shell syntax. Oh well.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86280 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/configuring.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'docs/manual/configuring.html') diff --git a/docs/manual/configuring.html b/docs/manual/configuring.html index fbe41c2f17..d2aa794a96 100644 --- a/docs/manual/configuring.html +++ b/docs/manual/configuring.html @@ -37,12 +37,19 @@ filename is set by the Syntax of the Configuration Files +

Apache configuration files contain one directive per line. The +back-slash "\" may be used as the last character on a line to indicate +that the directive continues onto the next line. There must be no +other characters or white space between the back-slash and the end of +the line. To end a line with a literal back-slash, you can escape it +by preceding it with a second back-slash "\\". +

Directives in the configuration files are case-insensitive, but arguments to directives are often case sensitive. Lines which begin with the hash character "#" are considered comments, and are ignored. -Comments may not be included on a line after a configuration -directive. White space occurring before a directive -is ignored, so you may indent directives for clarity. +Comments may not be included on a line after a +configuration directive. Blank lines and white space occurring before +a directive are ignored, so you may indent directives for clarity.

You can check your configuration files for syntax errors without starting the server by using apachectl configtest @@ -59,7 +66,7 @@ included in the server at compile-time. If the server is compiled to use dynamically loaded modules, then modules can be compiled separately and added at any time using the LoadModule directive. -Otherwise, apache must be recompiled to add or remove modules. +Otherwise, Apache must be recompiled to add or remove modules.

To see which modules are currently compiled into the server, you can use the -l command line option. -- cgit v1.2.1