From: Rich Bowen Date: Mon, 25 May 2026 20:16:40 +0000 (+0000) Subject: docs: Add SVG source for RewriteRule syntax diagram, regenerate PNG X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=5d6dd1fb4580caac52f6dc3485c079002ae14eb9;p=thirdparty%2Fapache%2Fhttpd.git docs: Add SVG source for RewriteRule syntax diagram, regenerate PNG Recreate syntax_rewriterule as editable SVG with color-coded callouts for Pattern, Substitution, and [Flags]. Text matches original content. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934620 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/images/syntax_rewriterule.png b/docs/manual/images/syntax_rewriterule.png index 5eb5fb8a16..3b8eef3dd7 100644 Binary files a/docs/manual/images/syntax_rewriterule.png and b/docs/manual/images/syntax_rewriterule.png differ diff --git a/docs/manual/images/syntax_rewriterule.svg b/docs/manual/images/syntax_rewriterule.svg new file mode 100644 index 0000000000..2e0916f531 --- /dev/null +++ b/docs/manual/images/syntax_rewriterule.svg @@ -0,0 +1,44 @@ + + + + + + + + Syntax of a RewriteRule: + + + RewriteRule + Pattern + Substitution + [Flags] + + + + + Optional: All kinds of special + actions: Define variables, Control + headers, Redirect, Deny, ... + + + + + Regular expression checked against + the requested URI, which is the + part after http://hostname:port + + + + + One of the following: + 1. Modification to part matched by Pattern + 2. Absolute path to a file + 3. Full URL to issue as a redirect + 4. A dash "-" to do nothing +