From: Rich Bowen Date: Mon, 25 May 2026 20:21:01 +0000 (+0000) Subject: docs: Add SVG source for RewriteCond syntax diagram, regenerate PNG X-Git-Tag: 2.4.68-rc1-candidate~78 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f63116bd2877c814f7b8737b4e94d854c354fbe8;p=thirdparty%2Fapache%2Fhttpd.git docs: Add SVG source for RewriteCond syntax diagram, regenerate PNG Recreate syntax_rewritecond as editable SVG with color-coded callouts for TestString, CondPattern, and [Flags]. Matches style of RewriteRule syntax diagram. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1934623 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/images/syntax_rewritecond.png b/docs/manual/images/syntax_rewritecond.png index 7c463c8a9d..0852772f13 100644 Binary files a/docs/manual/images/syntax_rewritecond.png and b/docs/manual/images/syntax_rewritecond.png differ diff --git a/docs/manual/images/syntax_rewritecond.svg b/docs/manual/images/syntax_rewritecond.svg new file mode 100644 index 0000000000..ce91baf4f5 --- /dev/null +++ b/docs/manual/images/syntax_rewritecond.svg @@ -0,0 +1,47 @@ + + + + + + + + Syntax of a RewriteCond: + + + RewriteCond + TestString + CondPattern + [Flags] + + + + + Optional: Common flags: + [NC] No Case (case insensitive) + [OR] Combine with next using OR + [NV] No Vary header + + + + + A string which can contain: + Server variables: %{HTTP_HOST} + Backreferences: $1 from RewriteRule + %1 from prior RewriteCond + Map lookups: ${mapname:key} + + + + + One of the following: + 1. Regular expression + 2. Lexicographic comparison + (<String, >String, =String) + 3. File attribute test + (-d, -f, -s, -l, -F, -U) +