I spoke too soon. This just made it pass through unchanged, and the URL rewriting on the backend took care of it.

It seems that this config line:

reqirep ^([^\ ]*)\ /string1/(.*) \1\ /cgi-bin/cgi-gw.exe?action=webres&id=\2

Does not match this request:

GET /string1/20101117/CL03874 HTTP/1.1

It all looks OK to me, and most of it's taken straight from the examples in the documentation. Can anyone with a discerning eye tell me what I did wrong?

Thanks,
Shawn

On 12/14/2010 12:08 PM, Shawn Heisey wrote:
I actually figured it out. My mistake was not accounting for the verb (GET) at the beginning and the whatever it's called at the end (HTTP/1.1). Now it looks like this, and it works perfectly as far as I can tell:

reqirep ^([^\ ]*)\ +/string3/(.*)\ +(.*) \1\ /cgi-bin/cgi-gw.exe?id=\2&action=autodetails\ \3 if bot string3


Reply via email to