From: Christophe Jaillet Date: Sun, 27 Aug 2023 06:39:44 +0000 (+0000) Subject: Add an hyper-link. X-Git-Tag: 2.4.58-rc1-candidate~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=607189b055b3675f1f22279631a6f7562555edd8;p=thirdparty%2Fapache%2Fhttpd.git Add an hyper-link. Fix a typo (s/a an/an/) Be less agressive (s/ON/On/) and reorder "On|Off". (r1911948 intrunk) Fix version [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1911949 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_alias.xml b/docs/manual/mod/mod_alias.xml index 7d6767033a3..06394f28d62 100644 --- a/docs/manual/mod/mod_alias.xml +++ b/docs/manual/mod/mod_alias.xml @@ -621,18 +621,18 @@ ScriptAliasMatch "(?i)^/cgi-bin(.*)" "/usr/local/apache/cgi-bin$1" RedirectRelative Allows relative redirect targets. -RedirectRelative OFF|ON -RedirectRelative OFF +RedirectRelative On|Off +RedirectRelative Off server configvirtual host directory -2.5.1 and later +2.4.58 and later -

By default, if the target URL of a Redirect +

By default, if the target URL of a Redirect directive is a relative URL beginning with a '/' character, the server - converts it to a an absolute URL before responding to the client. By - setting RedirectRelative to the value "ON", + converts it to an absolute URL before responding to the client. By + setting RedirectRelative to the value "On", the relative URL is presented to the client directly.