OK I have been trying to get this right and I just wind up an a recursive loop, with the url appended to the end of the url.
This is what I am trying to do:
1) Given a url which contains a pdf (http://parentDirectory/Documents/*.pdf)
2) I want to redirect to a STATIC url start and append the url as a query string (http://parentDirectory/ISA/Index.cfm?d=<http://parentDirectory/Documents/PdfName.pdf)
So as you can see, given the url is in the Documents Directory and is a .pdf I want to redirect to a static page with a query string parameter of this full url.
Because I'm trying to append the url as a query string I keep recursing, probably because the query string contains the original pattern.
I am trying a combination of RewriteRule and RedirectRule, basically I want to redirect to the ISA/Index.cfm page once its done and the rules are done.
Can anyone help me? How can I stop this recursion or loop.
I'm newbie, thanks for your patience