I have an application in 2 environments on an Apache server. One is 'dev', and it's a subdomain of the production environment. This is a content managed application, and users upload media. I'd like the ability for the 'dev' site content in certain areas to be updated with the same media.
Is there a way to get my
/dev/uploads directory to utilize media from the
/prod/uploads directory (recursively) without having to copy content? (want to keep disk space down).
If my dev application calls
http://dev.mysite.com/uploads/img.jpg the media should actually be pulled from
http://mysite.com/uploads.img.jpg. I'm also using rewrite in the .htaccess file already, as this is a ZF application.