From: Rich Bowen tables as actual HTML tables
X-Git-Tag: 2.3.9~469
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b8797e925c8ddcb50d97ea92afc9590243581c4;p=apache
Reformat these
tables as actual HTML tables
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@999415 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en
index b54e45f03f..a2104ce0fc 100644
--- a/docs/manual/mod/mod_rewrite.html.en
+++ b/docs/manual/mod/mod_rewrite.html.en
@@ -967,7 +967,7 @@ cannot use
$N
in the substitution string!
brackets, of any of the flags in the following table. More
details, and examples, for each flag, are available in the Rewrite Flags document.
Flag and syntax | Function |
---|
Given Rule | +Resulting Substitution | +
---|---|
^/somepath(.*) otherpath$1 | +invalid, not supported | +
^/somepath(.*) otherpath$1 [R] | +invalid, not supported | +
^/somepath(.*) otherpath$1 [P] | +invalid, not supported | +
^/somepath(.*) /otherpath$1 | +/otherpath/pathinfo | +
^/somepath(.*) /otherpath$1 [R] | +http://thishost/otherpath/pathinfo via external redirection | +
^/somepath(.*) /otherpath$1 [P] | +doesn't make sense, not supported | +
^/somepath(.*) http://thishost/otherpath$1 | +/otherpath/pathinfo | +
^/somepath(.*) http://thishost/otherpath$1 [R] | +http://thishost/otherpath/pathinfo via external redirection | +
^/somepath(.*) http://thishost/otherpath$1 [P] | +doesn't make sense, not supported | +
^/somepath(.*) http://otherhost/otherpath$1 | +http://otherhost/otherpath/pathinfo via external redirection | +
^/somepath(.*) http://otherhost/otherpath$1 [R] | +http://otherhost/otherpath/pathinfo via external redirection (the [R] flag is redundant) | +
^/somepath(.*) http://otherhost/otherpath$1 [P] | +http://otherhost/otherpath/pathinfo via internal proxy | +
Inside per-directory configuration for
/somepath
@@ -1178,40 +1211,76 @@ should never be necessary and is unsupported.
-Given Rule Resulting Substitution ----------------------------------------------- ---------------------------------- -^localpath(.*) otherpath$1 /somepath/otherpath/pathinfo - -^localpath(.*) otherpath$1 [R] http://thishost/somepath/otherpath/pathinfo - via external redirection - -^localpath(.*) otherpath$1 [P] doesn't make sense, not supported ----------------------------------------------- ---------------------------------- -^localpath(.*) /otherpath$1 /otherpath/pathinfo - -^localpath(.*) /otherpath$1 [R] http://thishost/otherpath/pathinfo - via external redirection - -^localpath(.*) /otherpath$1 [P] doesn't make sense, not supported ----------------------------------------------- ---------------------------------- -^localpath(.*) http://thishost/otherpath$1 /otherpath/pathinfo +
Given Rule | +Resulting Substitution | +
---|---|
^localpath(.*) otherpath$1 | +/somepath/otherpath/pathinfo | +
^localpath(.*) otherpath$1 [R] | +http://thishost/somepath/otherpath/pathinfo via external +redirection | +
^localpath(.*) otherpath$1 [P] | +doesn't make sense, not supported | +
^localpath(.*) /otherpath$1 | +/otherpath/pathinfo | +
^localpath(.*) /otherpath$1 [R] | +http://thishost/otherpath/pathinfo via external redirection | +
^localpath(.*) /otherpath$1 [P] | +doesn't make sense, not supported | +
^localpath(.*) http://thishost/otherpath$1 | +/otherpath/pathinfo | +
^localpath(.*) http://thishost/otherpath$1 [R] | +http://thishost/otherpath/pathinfo via external redirection | +
^localpath(.*) http://thishost/otherpath$1 [P] | +doesn't make sense, not supported | +
^localpath(.*) http://otherhost/otherpath$1 | +http://otherhost/otherpath/pathinfo via external redirection | +
^localpath(.*) http://otherhost/otherpath$1 [R] | +http://otherhost/otherpath/pathinfo via external redirection (the [R] flag is redundant) | +
^localpath(.*) http://otherhost/otherpath$1 [P] | +http://otherhost/otherpath/pathinfo via internal proxy | +
$N
in the substitution string!
details, and examples, for each flag, are available in the Rewrite Flags document.
- Flag and syntax | Function |
---|
Given Rule | +Resulting Substitution | +
---|---|
^/somepath(.*) otherpath$1 | +invalid, not supported | +
^/somepath(.*) otherpath$1 [R] | +invalid, not supported | +
^/somepath(.*) otherpath$1 [P] | +invalid, not supported | +
^/somepath(.*) /otherpath$1 | +/otherpath/pathinfo | +
^/somepath(.*) /otherpath$1 [R] | +http://thishost/otherpath/pathinfo via external redirection | +
^/somepath(.*) /otherpath$1 [P] | +doesn't make sense, not supported | +
^/somepath(.*) http://thishost/otherpath$1 | +/otherpath/pathinfo | +
^/somepath(.*) http://thishost/otherpath$1 [R] | +http://thishost/otherpath/pathinfo via external redirection | +
^/somepath(.*) http://thishost/otherpath$1 [P] | +doesn't make sense, not supported | +
^/somepath(.*) http://otherhost/otherpath$1 | +http://otherhost/otherpath/pathinfo via external redirection | +
^/somepath(.*) http://otherhost/otherpath$1 [R] | +http://otherhost/otherpath/pathinfo via external redirection (the [R] flag is redundant) | +
^/somepath(.*) http://otherhost/otherpath$1 [P] | +http://otherhost/otherpath/pathinfo via internal proxy | +
Inside per-directory configuration for
/somepath
@@ -1202,40 +1235,76 @@ should never be necessary and is unsupported.
-Given Rule Resulting Substitution ----------------------------------------------- ---------------------------------- -^localpath(.*) otherpath$1 /somepath/otherpath/pathinfo - -^localpath(.*) otherpath$1 [R] http://thishost/somepath/otherpath/pathinfo - via external redirection - -^localpath(.*) otherpath$1 [P] doesn't make sense, not supported ----------------------------------------------- ---------------------------------- -^localpath(.*) /otherpath$1 /otherpath/pathinfo - -^localpath(.*) /otherpath$1 [R] http://thishost/otherpath/pathinfo - via external redirection - -^localpath(.*) /otherpath$1 [P] doesn't make sense, not supported ----------------------------------------------- ---------------------------------- -^localpath(.*) http://thishost/otherpath$1 /otherpath/pathinfo - -^localpath(.*) http://thishost/otherpath$1 [R] http://thishost/otherpath/pathinfo - via external redirection - -^localpath(.*) http://thishost/otherpath$1 [P] doesn't make sense, not supported ----------------------------------------------- ---------------------------------- -^localpath(.*) http://otherhost/otherpath$1 http://otherhost/otherpath/pathinfo - via external redirection - -^localpath(.*) http://otherhost/otherpath$1 [R] http://otherhost/otherpath/pathinfo - via external redirection - (the [R] flag is redundant) +
Given Rule | +Resulting Substitution | +
---|---|
^localpath(.*) otherpath$1 | +/somepath/otherpath/pathinfo | +
^localpath(.*) otherpath$1 [R] | +http://thishost/somepath/otherpath/pathinfo via external +redirection | +
^localpath(.*) otherpath$1 [P] | +doesn't make sense, not supported | +
^localpath(.*) /otherpath$1 | +/otherpath/pathinfo | +
^localpath(.*) /otherpath$1 [R] | +http://thishost/otherpath/pathinfo via external redirection | +
^localpath(.*) /otherpath$1 [P] | +doesn't make sense, not supported | +
^localpath(.*) http://thishost/otherpath$1 | +/otherpath/pathinfo | +
^localpath(.*) http://thishost/otherpath$1 [R] | +http://thishost/otherpath/pathinfo via external redirection | +
^localpath(.*) http://thishost/otherpath$1 [P] | +doesn't make sense, not supported | +
^localpath(.*) http://otherhost/otherpath$1 | +http://otherhost/otherpath/pathinfo via external redirection | +
^localpath(.*) http://otherhost/otherpath$1 [R] | +http://otherhost/otherpath/pathinfo via external redirection (the [R] flag is redundant) | +
^localpath(.*) http://otherhost/otherpath$1 [P] | +http://otherhost/otherpath/pathinfo via internal proxy | +