Configure apache to 'overide' default file location

view story

http://serverfault.com – The question is : Can I somehow configure Apache to use alternative directory, or rather to search alternative directory first, and if file is found then to use that one, rather than the original. Say I have a configuration like this : /var/www/mysite/images/somefile.jpg as well as: /var/www/custom_theme/images/somefile.jpg Now, the file in second location may or may not be present. If its present I would like that one to be used instead of the one in mysite. Is that possible to do with Apache virtual host configuration (custom_theme folder will vary depending on the domain used to acce (HowTos)