On Tue, Jan 17, 2012 at 08:45:13PM +0100, [email protected] wrote: > Thanks for the reply. > > I am somewhat of a regex dummy, can you give me an example of the reqirep > command itself?
I would suggest something like this : reqrep ^([^\ ]*)(\ /[^\ ]*)(\ HTTP.*) \1\2&auth=xxxxxx\3 Warning, this will always add "&auth=xxxx" at the end of every request. If you want to only add it to requests containing a question mark, you could proceed this way : reqrep ^([^\ ]*)(\ /[^\ ]*\?[^\ ]*)(\ HTTP.*) \1\2&auth=xxxxxx\3 Hoping this helps, Willy

