diff options
author | Jeff Trawick <trawick@apache.org> | 2015-04-09 20:51:11 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2015-04-09 20:51:11 +0000 |
commit | 7dffa590d42ada078b23bc7b2a32caa06d88f44e (patch) | |
tree | 04e15e61d23e0f2975aee9cc86c8dee38d1b57f6 /docs/manual/mod/core.html.en | |
parent | 47de7462a943422ab6b6f69e03c5859df025dd59 (diff) | |
download | httpd-7dffa590d42ada078b23bc7b2a32caa06d88f44e.tar.gz |
make docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1672485 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/core.html.en')
-rw-r--r-- | docs/manual/mod/core.html.en | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 0f8158c958..73497ecdc3 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -1257,16 +1257,22 @@ in case of an error</td></tr> or a message. Apache httpd will sometimes offer additional information regarding the problem/error.</p> + <p>From 2.4.13, <a href="../expr.html">expression syntax</a> can be + used inside the directive to produce dynamic strings and URLs.</p> + <p>URLs can begin with a slash (/) for local web-paths (relative to the <code class="directive"><a href="#documentroot">DocumentRoot</a></code>), or be a full URL which the client can resolve. Alternatively, a message - can be provided to be displayed by the browser. Examples:</p> + can be provided to be displayed by the browser. Note that deciding + whether the parameter is an URL, a path or a message is performed + before any expression is parsed. Examples:</p> <pre class="prettyprint lang-config">ErrorDocument 500 http://foo.example.com/cgi-bin/tester ErrorDocument 404 /cgi-bin/bad_urls.pl ErrorDocument 401 /subscription_info.html ErrorDocument 403 "Sorry can't allow you access today" -ErrorDocument 403 Forbidden!</pre> +ErrorDocument 403 Forbidden! +ErrorDocument 403 /cgi-bin/forbidden.pl?referrer=%{escape:%{HTTP_REFERER}}</pre> <p>Additionally, the special value <code>default</code> can be used @@ -2192,8 +2198,9 @@ requests on a persistent connection</td></tr> higher the timeout, the more server processes will be kept occupied waiting on connections with idle clients.</p> - <p>In a name-based virtual host context, the value of the first - defined virtual host best matching the local IP and port will be used.</p> + <p>If <code class="directive">KeepAliveTimeout</code> is <strong>not</strong> + set for a name-based virtual host, the value of the first defined + virtual host best matching the local IP and port will be used.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |