Hi Feherke, thanks. As you said in your earlier reply at
http://www.tek-tips.com/viewthread.cfm?qid=1645859&page=1,
I replaced the Redirect with RedirectMatch. But I was not placing the "\" before "/([a-zA-Z0-9]*).pdf" in the .htaccess file.
After placing it, the code is working for me as...
Hi All,
I am trying to redirect all files in a particular directory in my web server.
I am trying regular expressions such as
RedirectMatch /data/january\/([a-zA-Z0-9]*).pdf http://www.mysite.com/sample
The expression /([a-zA-Z0-9]*) is trying to find expressions such as "dat35262.pdf"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.