I have a stage and dev server. I periodically pull the database from stage to local, but not the images due to lack of write permissions on stage. I know that you can write rewrite conditions for pulling all images from a remote location, but is there any way to tell Apache to first look on local, and if not found, then grab the images from remote?
You can use the
This is not actually a tested configuration, but should hopefully point you in the right direction. The mod_rewrite documentation has a detailed description of