From: Astrid Malo Date: Sat, 21 Jun 2003 23:33:59 +0000 (+0000) Subject: - mention that DocumentRoot is interpreted relativ to ServerRoot if it is X-Git-Tag: pre_ajp_proxy~1521 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52060154654637bdcf016feb5299899b03d37c81;p=apache - mention that DocumentRoot is interpreted relativ to ServerRoot if it is not absolute - remove description of absolute pathes (beginning with a slash) because this is valid only for some OS git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100323 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 76666133df..2298bddce0 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -771,7 +771,8 @@ from the web

then an access to http://www.my.host.com/index.html refers to - /usr/web/index.html.

+ /usr/web/index.html. If the directory-path is + not absolute then it is assumed to be relative to the ServerRoot.

The DocumentRoot should be specified without a trailing slash.

@@ -975,8 +976,8 @@ in case of an error

The ErrorLog directive sets the name of the file to which the server will log any errors it encounters. If - the file-path is not absolute (in general: does not begin - with a slash (/)) then it is assumed to be relative to the ServerRoot.

+ the file-path is not absolute then it is assumed to be + relative to the ServerRoot.

Example

ErrorLog /var/log/httpd/error_log @@ -1368,9 +1369,8 @@ the server configuration files files in a directory that can cause httpd to fail.

-

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

+

The file path specified may be an absolute path, or may be relative + to the ServerRoot directory.

Examples:

diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index c167f484d2..d759ad66dc 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -709,7 +709,9 @@ from the web

then an access to http://www.my.host.com/index.html refers to - /usr/web/index.html.

+ /usr/web/index.html. If the directory-path is + not absolute then it is assumed to be relative to the ServerRoot.

The DocumentRoot should be specified without a trailing slash.

@@ -914,9 +916,8 @@ in case of an error

The ErrorLog directive sets the name of the file to which the server will log any errors it encounters. If - the file-path is not absolute (in general: does not begin - with a slash (/)) then it is assumed to be relative to the ServerRoot.

+ the file-path is not absolute then it is assumed to be + relative to the ServerRoot.

Example ErrorLog /var/log/httpd/error_log @@ -1319,9 +1320,8 @@ the server configuration files files in a directory that can cause httpd to fail.

-

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

+

The file path specified may be an absolute path, or may be relative + to the ServerRoot directory.

Examples: