From: Rich Bowen Date: Mon, 25 May 2026 20:20:58 +0000 (+0000) Subject: docs: Add SVG source for RewriteCond syntax diagram, regenerate PNG X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c19e8f5163bdf65db0e36da9d75ef15e3dad0b89;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/trunk@1934622 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) +