Hey, I've got one server that has a small HDD, and stores only some files, and I have a server with a bigger HDD that stores all files, including those that the small server has. The problem is that the small server indexes ALL files, and if someone tries to download a file that doesnt exist on the small server it will report 404, but INSTEAD i want it to redirect to the bigger server and get the file from there, example:
<attempt to get the file from the small server>
http://example.com/download/song1.mp3
<the small server will not find the file, and should try to redirect to the bigger server>
http://example.com:2975/download/song1.mp3
I played around with the Redirect command and couldn't solve it because most of these files are in the same folder, and I'd prefer the files to be fetched from the small server (since the bigger server isn't online 24/7)...
any suggestions? btw, is it possible to limit these rules to specific IPs / redirect to different file paths on that other server?
if my question isn't clear enough let me know...