Given a URL:
http://example.com/some-file.zip
The document root for example.com
is /var/www/example.com/
I want apache to:
- If
/var/www/example.com/some-file.zip
exists, serve it. - If
/var/www/example.com/some-file.zip
doesn't exist, check/var/www/shared/some-file.zip
- If
/var/www/shared/some-file.zip
doesn't exist, send a 404
Is this possible?
I've looked in to the Alias directive, but I think this will require me to have something in the URI indicating where the resource is.