You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ke...@apache.org on 2003/06/22 01:34:00 UTC
cvs commit: httpd-2.0/docs/manual/mod core.xml core.html.en
kess 2003/06/21 16:34:00
Modified: docs/manual/mod core.xml core.html.en
Log:
- 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
Revision Changes Path
1.68 +7 -7 httpd-2.0/docs/manual/mod/core.xml
Index: core.xml
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/mod/core.xml,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- core.xml 13 Jun 2003 15:12:01 -0000 1.67
+++ core.xml 21 Jun 2003 23:33:59 -0000 1.68
@@ -709,7 +709,9 @@
<p>then an access to
<code>http://www.my.host.com/index.html</code> refers to
- <code>/usr/web/index.html</code>.</p>
+ <code>/usr/web/index.html</code>. If the <var>directory-path</var> is
+ not absolute then it is assumed to be relative to the <directive
+ module="core">ServerRoot</directive>.</p>
<p>The <directive>DocumentRoot</directive> should be specified without
a trailing slash.</p>
@@ -914,9 +916,8 @@
<usage>
<p>The <directive>ErrorLog</directive> directive sets the name of
the file to which the server will log any errors it encounters. If
- the <var>file-path</var> is not absolute (in general: does not begin
- with a slash (/)) then it is assumed to be relative to the <directive
- module="core">ServerRoot</directive>.</p>
+ the <var>file-path</var> is not absolute then it is assumed to be
+ relative to the <directive module="core">ServerRoot</directive>.</p>
<example><title>Example</title>
ErrorLog /var/log/httpd/error_log
@@ -1319,9 +1320,8 @@
files in a directory that can cause <code>httpd</code> to
fail.</p>
- <p>The file path specified may be an absolute path (i.e.
- starting with a slash), or may be relative to the
- <directive module="core">ServerRoot</directive> directory.</p>
+ <p>The file path specified may be an absolute path, or may be relative
+ to the <directive module="core">ServerRoot</directive> directory.</p>
<p>Examples:</p>
1.76 +6 -6 httpd-2.0/docs/manual/mod/core.html.en
Index: core.html.en
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/mod/core.html.en,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- core.html.en 16 Jun 2003 05:31:58 -0000 1.75
+++ core.html.en 21 Jun 2003 23:33:59 -0000 1.76
@@ -771,7 +771,8 @@
<p>then an access to
<code>http://www.my.host.com/index.html</code> refers to
- <code>/usr/web/index.html</code>.</p>
+ <code>/usr/web/index.html</code>. If the <var>directory-path</var> is
+ not absolute then it is assumed to be relative to the <code class="directive"><a href="#serverroot">ServerRoot</a></code>.</p>
<p>The <code class="directive">DocumentRoot</code> should be specified without
a trailing slash.</p>
@@ -975,8 +976,8 @@
</table>
<p>The <code class="directive">ErrorLog</code> directive sets the name of
the file to which the server will log any errors it encounters. If
- the <var>file-path</var> is not absolute (in general: does not begin
- with a slash (/)) then it is assumed to be relative to the <code class="directive"><a href="#serverroot">ServerRoot</a></code>.</p>
+ the <var>file-path</var> is not absolute then it is assumed to be
+ relative to the <code class="directive"><a href="#serverroot">ServerRoot</a></code>.</p>
<div class="example"><h3>Example</h3><p><code>
ErrorLog /var/log/httpd/error_log
@@ -1368,9 +1369,8 @@
files in a directory that can cause <code>httpd</code> to
fail.</p>
- <p>The file path specified may be an absolute path (i.e.
- starting with a slash), or may be relative to the
- <code class="directive"><a href="#serverroot">ServerRoot</a></code> directory.</p>
+ <p>The file path specified may be an absolute path, or may be relative
+ to the <code class="directive"><a href="#serverroot">ServerRoot</a></code> directory.</p>
<p>Examples:</p>