I have 1000 static html page files and html data in Database. Now i want to move to amazon s3 server, i will move all of my static files to s3. How i can route the path to the new location, i can't update all of the pages and correct images path. like:
<img src='/myfiles/images/blog/20140606/flow.jpg'/>
to
Request: /myfiles/images/blog/20140606/flow.jpg
Redirect to: htps://xxx.s3.amazonaws.com/myfiles/images/blog/20140606/flow.jpg
i need a route to redirect the request to new location instead of update all files.