<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>
</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
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>
<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>
<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
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>