I'm trying to redirect URLs to a cgi script that match certain criteria. I.e. I don't want to redirect every query to that script, just those with a particular parameter. But I can't get it to work. Here's my Redirect:
RedirectMatch /cgi-bin/Pwebrecon.cgi?BBID=(.*) http://adelaide.hosted.exlibrisgroup.com:1701/primo_library/libweb/action/dlDisplay.do?vid=SUA\&docId=SUA$1
I've used RedirectMatch successfully many, many times, but never before with a cgi script. Anyone know how to make this work?