Howdy all!
I would like to take all of the requests going to a particular directory (cgi-bin) and redirect them to the exact same directory on another server. Urls will be coming into apache like this:
new.server.com/cgi-bin/acdis.dll?cmd=see&fp=/is-pix/D01019.jpg&h=350&w=350
I would like to redirect them to:
old.server.com/cgi-bin/acdis.dll?cmd=see&fp=/is-pix/D01019.jpg&h=350&w=350
I've tried the following:
RewriteRule ^cgi-bin(.*)$ http://old.server.com/cgi-bin$1 [R]
But this simply gives me a 404 on the new.server.com.
Thanks a bunch for your help!