On Sat, Dec 10, 2022 at 7:49 AM Eric Covener <cove...@gmail.com> wrote: > > > I thought of setting a variable with SetEnvIfExpr, or with RewriteCond, > > but they're not designed for that and I don't think that's possible. > > I think the SetEnvIfExpr way is the way to go.
Whoops, I missed in the doc even after checking for it: > If the TestString has the special value expr, the CondPattern will be treated > as an ap_expr. HTTP headers referenced in the expression will be added to the > Vary header if the novary flag is not given. So no need for SetEnvIfExpr. You can get the md5 in the testring and capture it in the pattern and use it as %1 in your rule -- Eric Covener cove...@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org