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
Received on 2010/07/14 21:59
This archive was generated by hypermail 2.2.0 : 2010/07/14 22:15 CEST