I am trying to redirect all files in a particular directory in my web server.
I am trying regular expressions such as
Redirect /data/january\/([a-zA-Z0-9]*).([a-zA-Z]*) http://www.mysite.com/sample
The expression /([a-zA-Z0-9]*).([a-zA-Z]*) is trying to find expressions such as dat35262.pdf.
But its not working. Can you help me out?
You should use
RedirectMatch,Redirectdoes not handle regexp. Try :