I'm trying to write a conditional reqrep rule (in 1.4) that appends a querystring param.
Trouble is that in some cases, the original request might already have a querystring; in others it might not. It seems like I'll need two reqrep rules plus an acl to test whether a queystring exists so that I can correctly rewrite /test.html => /test.html?myvar=myval and /test2.html?existingvar=existingval&myvar=myval prepending ? or & as appropriate. But I'm sure there's a much more elegant solution. Any ideas? Thanks, Ben

